org.openorb.orb.core.dii
Class Request

java.lang.Object
  extended byorg.omg.CORBA.Request
      extended byorg.openorb.orb.core.dii.Request

public class Request
extends org.omg.CORBA.Request

This class provides a way to use dynamic request.

Version:
$Revision: 1.5 $ $Date: 2004/02/10 21:02:47 $
Author:
Jerome Daniel

Constructor Summary
Request(org.omg.CORBA.Object target, java.lang.String operation, org.omg.CORBA.NVList arguments, org.omg.CORBA.NamedValue result, org.omg.CORBA.Environment env, org.omg.CORBA.ExceptionList exceptions, org.omg.CORBA.ContextList contexts, org.omg.CORBA.ORB orb)
          Constructor
Request(org.omg.CORBA.Object target, java.lang.String operation, org.omg.CORBA.ORB orb)
          Constructor
 
Method Summary
 org.omg.CORBA.Any add_in_arg()
          Add an IN argument
 org.omg.CORBA.Any add_inout_arg()
          Add an INOUT argument
 org.omg.CORBA.Any add_named_in_arg(java.lang.String name)
          Add an IN argument
 org.omg.CORBA.Any add_named_inout_arg(java.lang.String name)
          Add an INOUT argument
 org.omg.CORBA.Any add_named_out_arg(java.lang.String name)
          Add an OUT argument
 org.omg.CORBA.Any add_out_arg()
          Add an OUT argument
 org.omg.CORBA.NVList arguments()
          Return the operation arguments
 org.omg.CORBA.ContextList contexts()
          Return the context list
 org.omg.CORBA.Context ctx()
          Return the context object
 void ctx(org.omg.CORBA.Context c)
          Set the context object
 org.omg.CORBA.Environment env()
          Return the environment value
 org.omg.CORBA.ExceptionList exceptions()
          Return the exception list
 void get_response()
          Get response
 void invoke()
          Invoke an operation
 java.lang.String operation()
          Return the operation name
 boolean poll_response()
          Return TRUE if a response is available
 void prepare(org.omg.CORBA.Object p)
           
 org.omg.CORBA.NamedValue result()
          Return the result value
 org.omg.CORBA.Any return_value()
          Return the value
 void send_deferred()
          Send a deferred request
 void send_oneway()
          Send a oneway request
 org.omg.CORBA.Object sendp()
           
 void set_return_type(org.omg.CORBA.TypeCode tc)
          Set the return type
 org.omg.CORBA.Object target()
          Return the target object reference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Request

public Request(org.omg.CORBA.Object target,
               java.lang.String operation,
               org.omg.CORBA.ORB orb)
Constructor


Request

public Request(org.omg.CORBA.Object target,
               java.lang.String operation,
               org.omg.CORBA.NVList arguments,
               org.omg.CORBA.NamedValue result,
               org.omg.CORBA.Environment env,
               org.omg.CORBA.ExceptionList exceptions,
               org.omg.CORBA.ContextList contexts,
               org.omg.CORBA.ORB orb)
Constructor

Method Detail

target

public org.omg.CORBA.Object target()
Return the target object reference


operation

public java.lang.String operation()
Return the operation name


arguments

public org.omg.CORBA.NVList arguments()
Return the operation arguments


result

public org.omg.CORBA.NamedValue result()
Return the result value


env

public org.omg.CORBA.Environment env()
Return the environment value


exceptions

public org.omg.CORBA.ExceptionList exceptions()
Return the exception list


contexts

public org.omg.CORBA.ContextList contexts()
Return the context list


ctx

public org.omg.CORBA.Context ctx()
Return the context object


ctx

public void ctx(org.omg.CORBA.Context c)
Set the context object


add_in_arg

public org.omg.CORBA.Any add_in_arg()
Add an IN argument


add_named_in_arg

public org.omg.CORBA.Any add_named_in_arg(java.lang.String name)
Add an IN argument


add_inout_arg

public org.omg.CORBA.Any add_inout_arg()
Add an INOUT argument


add_named_inout_arg

public org.omg.CORBA.Any add_named_inout_arg(java.lang.String name)
Add an INOUT argument


add_out_arg

public org.omg.CORBA.Any add_out_arg()
Add an OUT argument


add_named_out_arg

public org.omg.CORBA.Any add_named_out_arg(java.lang.String name)
Add an OUT argument


set_return_type

public void set_return_type(org.omg.CORBA.TypeCode tc)
Set the return type


return_value

public org.omg.CORBA.Any return_value()
Return the value


invoke

public void invoke()
Invoke an operation


send_oneway

public void send_oneway()
Send a oneway request


send_deferred

public void send_deferred()
Send a deferred request


poll_response

public boolean poll_response()
Return TRUE if a response is available


get_response

public void get_response()
Get response


sendp

public org.omg.CORBA.Object sendp()

prepare

public void prepare(org.omg.CORBA.Object p)