jp.co.nec.orb
クラス ServerRequestImpl

java.lang.Object
  |
  +--org.omg.CORBA.ServerRequest
        |
        +--jp.co.nec.orb.ServerRequestImpl

public final class ServerRequestImpl
extends ServerRequest

This class is implementation class of pseudo ServerRequest.


コンストラクタの概要
ServerRequestImpl(Message msg)
           
 
メソッドの概要
 NVList arguments()
          for Portable Interceptors
 void arguments(NVList parms)
          decode and get parameter list of this operation
 void clearServiceContext()
           
 Context ctx()
          get context
 Any exception()
          for Portable Interceptors
 void flush()
           
 InputStream get_input_stream()
           
 OutputStream get_output_stream()
           
 Message getMessage()
           
 PropagationContext getPropagationContext()
           
static int new_trans_request_id()
           
 java.lang.String operation()
          get operation name
 void putForwardRequest(ForwardRequest e)
           
 void putReply()
           
 void putServant(Servant reg)
          inner function for PoaImpl
 void putSystemException(SystemException e)
           
 void reset()
           
 Any return_value()
          for Portable Interceptors
 void set_exception(Any a)
          set exception of this operation
 void set_result(Any a)
          set result of this operation
 void setArgument(Any arg)
           
 void setHooking(boolean mode)
          set hooking mode
 void setOperation(java.lang.String ope)
           
 
クラス org.omg.CORBA.ServerRequest から継承したメソッド
except, op_name, params, result
 
クラス java.lang.Object から継承したメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ServerRequestImpl

public ServerRequestImpl(Message msg)
メソッドの詳細

setArgument

public void setArgument(Any arg)

setOperation

public void setOperation(java.lang.String ope)

reset

public void reset()

getMessage

public Message getMessage()

get_input_stream

public InputStream get_input_stream()

get_output_stream

public OutputStream get_output_stream()

flush

public void flush()

putSystemException

public void putSystemException(SystemException e)

putForwardRequest

public void putForwardRequest(ForwardRequest e)

putReply

public void putReply()

getPropagationContext

public PropagationContext getPropagationContext()

new_trans_request_id

public static int new_trans_request_id()

operation

public java.lang.String operation()
get operation name
オーバーライド:
クラス ServerRequest 内の operation
戻り値:
operation name

ctx

public Context ctx()
get context
オーバーライド:
クラス ServerRequest 内の ctx
戻り値:
context

arguments

public void arguments(NVList parms)
decode and get parameter list of this operation
オーバーライド:
クラス ServerRequest 内の arguments
パラメータ:
parms - parameter list which has its informatinon to decode For example:
     // IDL
     interface X {
         void op(in long l);
     };

     // java
     org.omg.CORBA.ServerRequest sr = ...;
     org.omg.CORBA.ORB orb = ...;
     org.omg.CORBA.NVList parms = orb.create_list(1);
	   org.omg.CORBA.TypeCode t = org.get_primitive_tc(org.omg.CORBA.TCKind.tk_long);
     parms.add_item("l", org.omg.CORBA.ARG_IN.value).value().type(t);
	   sr.arguments(parms);
     int l = parms.item(0).value().extract_long();
 

arguments

public NVList arguments()
for Portable Interceptors

set_result

public void set_result(Any a)
set result of this operation
オーバーライド:
クラス ServerRequest 内の set_result
パラメータ:
a - result

return_value

public Any return_value()
for Portable Interceptors

set_exception

public void set_exception(Any a)
set exception of this operation
オーバーライド:
クラス ServerRequest 内の set_exception
パラメータ:
a - exception

exception

public Any exception()
for Portable Interceptors

setHooking

public void setHooking(boolean mode)
set hooking mode
パラメータ:
mode - hooking mode

putServant

public void putServant(Servant reg)
inner function for PoaImpl

clearServiceContext

public void clearServiceContext()