public class Request extends Request
| Modifier and Type | Field and Description |
|---|---|
NVList |
arguments |
ClientConnection |
connection |
Environment |
env |
byte[] |
object_key |
String |
operation |
Object |
target |
| Constructor and Description |
|---|
Request(Object target,
ORB orb,
ClientConnection connection,
byte[] obj_key,
String operationName) |
Request(Object target,
ORB orb,
ClientConnection connection,
byte[] obj_key,
String op,
NVList args,
Context context,
NamedValue result) |
Request(Object target,
ORB orb,
ClientConnection connection,
byte[] obj_key,
String op,
NVList args,
Context context,
NamedValue result,
ExceptionList exceptions,
ContextList contexts) |
| Modifier and Type | Method and Description |
|---|---|
Any |
add_in_arg() |
Any |
add_inout_arg() |
Any |
add_named_in_arg(String name) |
Any |
add_named_inout_arg(String name) |
Any |
add_named_out_arg(String name) |
Any |
add_out_arg() |
NVList |
arguments() |
ContextList |
contexts() |
Context |
ctx() |
void |
ctx(Context ctx) |
Environment |
env()
The
env method returns a CORBA Environment object. |
ExceptionList |
exceptions() |
void |
get_response() |
void |
invoke() |
String |
operation() |
boolean |
poll_response() |
NamedValue |
result() |
Any |
return_value() |
void |
send_deferred() |
void |
send_oneway() |
void |
set_return_type(TypeCode tc)
default return type is void
|
void |
setInfo(ClientRequestInfoImpl info) |
Object |
target() |
public final Object target
public final ClientConnection connection
public final byte[] object_key
public final NVList arguments
public final String operation
public final Environment env
public Request(Object target, ORB orb, ClientConnection connection, byte[] obj_key, String operationName)
public Request(Object target, ORB orb, ClientConnection connection, byte[] obj_key, String op, NVList args, Context context, NamedValue result)
public Request(Object target, ORB orb, ClientConnection connection, byte[] obj_key, String op, NVList args, Context context, NamedValue result, ExceptionList exceptions, ContextList contexts)
public NamedValue result()
public Environment env()
env method returns a CORBA Environment object. This
allows a user to retrieve any exceptions that were thrown during
processing of this request.
If the remote process throws a known exception i.e. one that has been
provided within the ExceptionList parameter then actual exception may
be extracted via this function from the UnknownUserException Any that
is passed back.
If the remote process throws a CORBA system exception or a Java exception
then these will also be stored within this env parameter.
If the remote process throws a UserException that has not been defined
via the ExceptionList then a CORBA UNKNOWN will be thrown containing the
typecode of the unknown exception.public ExceptionList exceptions()
exceptions in class Requestpublic ContextList contexts()
public Any add_in_arg()
add_in_arg in class Requestpublic Any add_named_in_arg(String name)
add_named_in_arg in class Requestpublic Any add_inout_arg()
add_inout_arg in class Requestpublic Any add_named_inout_arg(String name)
add_named_inout_arg in class Requestpublic Any add_out_arg()
add_out_arg in class Requestpublic Any add_named_out_arg(String name)
add_named_out_arg in class Requestpublic void set_return_type(TypeCode tc)
set_return_type in class Requestpublic Any return_value()
return_value in class Requestpublic void setInfo(ClientRequestInfoImpl info)
public void send_oneway()
send_oneway in class Requestpublic void send_deferred()
send_deferred in class Requestpublic void get_response()
get_response in class Requestpublic boolean poll_response()
poll_response in class RequestCopyright © 2017 JacORB. All rights reserved.