KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > CORBA > portable > ResponseHandler


1 package org.omg.CORBA.portable;
2
3 /**
4  * CORBA V2.3 - 1.3 July 1998 (merged version)
5  * last modified: 02/03/99 RT
6  */

7 public interface ResponseHandler {
8
9     /**
10      * Called by servant during a method invocation. The servant should call
11      * this method to create a reply marshal buffer if no except occurred
12      *
13      * Returns an OutputStream suitable for marshalling reply.
14      */

15     OutputStream JavaDoc createReply();
16
17     /**
18      * Called by servant during a method invocation. The servant should call
19      * this method to create a reply marshal buffer if no except occurred
20      *
21      * Returns an OutputStream suitable for marshalling the exception ID
22      * and the user exception body
23      */

24     OutputStream JavaDoc createExceptionReply();
25 }
26
27
28
Popular Tags