org.openorb.orb.core.dii
Class Request

java.lang.Object
  extended by org.omg.CORBA.Request
      extended by org.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

Specified by:
target in class org.omg.CORBA.Request

operation

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

Specified by:
operation in class org.omg.CORBA.Request

arguments

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

Specified by:
arguments in class org.omg.CORBA.Request

result

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

Specified by:
result in class org.omg.CORBA.Request

env

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

Specified by:
env in class org.omg.CORBA.Request

exceptions

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

Specified by:
exceptions in class org.omg.CORBA.Request

contexts

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

Specified by:
contexts in class org.omg.CORBA.Request

ctx

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

Specified by:
ctx in class org.omg.CORBA.Request

ctx

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

Specified by:
ctx in class org.omg.CORBA.Request

add_in_arg

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

Specified by:
add_in_arg in class org.omg.CORBA.Request

add_named_in_arg

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

Specified by:
add_named_in_arg in class org.omg.CORBA.Request

add_inout_arg

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

Specified by:
add_inout_arg in class org.omg.CORBA.Request

add_named_inout_arg

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

Specified by:
add_named_inout_arg in class org.omg.CORBA.Request

add_out_arg

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

Specified by:
add_out_arg in class org.omg.CORBA.Request

add_named_out_arg

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

Specified by:
add_named_out_arg in class org.omg.CORBA.Request

set_return_type

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

Specified by:
set_return_type in class org.omg.CORBA.Request

return_value

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

Specified by:
return_value in class org.omg.CORBA.Request

invoke

public void invoke()
Invoke an operation

Specified by:
invoke in class org.omg.CORBA.Request

send_oneway

public void send_oneway()
Send a oneway request

Specified by:
send_oneway in class org.omg.CORBA.Request

send_deferred

public void send_deferred()
Send a deferred request

Specified by:
send_deferred in class org.omg.CORBA.Request

poll_response

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

Specified by:
poll_response in class org.omg.CORBA.Request

get_response

public void get_response()
Get response

Specified by:
get_response in class org.omg.CORBA.Request

sendp

public org.omg.CORBA.Object sendp()

prepare

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