public interface RequestInfoOperations
ServerRequestInfoOperations
and
ClientRequestInfoOperations
.Modifier and Type | Method and Description |
---|---|
Parameter[] |
arguments()
Return the parameters of the operation being invoked.
|
String[] |
contexts()
Returns the names of all contexts of the operation being invoked.
|
TypeCode[] |
exceptions()
Returns the typecodes, defining all exceptions that the operation may
throw.
|
Object |
forward_reference()
If the request contains forwarding information (the reply_status attribute
being LOCATION_FORWARD), return the forwarding target.
|
ServiceContext |
get_reply_service_context(int ctx_name)
Get the service context with the given ctx_name that is associated with the
reply.
|
ServiceContext |
get_request_service_context(int ctx_name)
Get the service context with the given ctx_name that is associated with the
request.
|
Any |
get_slot(int id)
Get the data from the given slot of the PortableInterceptor.Current that is
in the scope of the request.
|
String[] |
operation_context()
Get the names of the service contexts being sent on the request.
|
String |
operation()
Get the name of the operation being invoked.
|
short |
reply_status()
Get the reoly state as result of the operation invocation.
|
int |
request_id()
Get the request id.
|
boolean |
response_expected()
Indicates whether request sender expected any response.
|
Any |
result()
Get the result of the operation invocation.
|
short |
sync_scope()
Determines how far the request shall progress before control is returned to
the client.
|
Parameter[] arguments()
NO_RESOURCES
- if the parameters are not available. The parameters
are only available for DII (via Request
or DSI calls.
They are not available for calls via IDL - generated stubs.String[] contexts()
NO_RESOURCES
- if the contexts are not available. The contexts are
only available for DII (via Request
or DSI calls.
They are not available for calls via IDL - generated stubs.TypeCode[] exceptions()
NO_RESOURCES
- if the exception list is not available. This list is
only available for DII (via Request
or DSI calls and
only on the client side. It is not available for calls via IDL - generated
stubs or on the server side.Object forward_reference()
ServiceContext get_reply_service_context(int ctx_name) throws BAD_PARAM
ctx_name
- the name of the service contextBAD_PARAM
- minor 26, if the context with the give ctx_name does not
exist.ServiceContext get_request_service_context(int ctx_name) throws BAD_PARAM
ctx_name
- the name of the service contextBAD_PARAM
- minor 26, if the context with the give ctx_name does not
exist.Any get_slot(int id) throws InvalidSlot
InvalidSlot
String[] operation_context()
String operation()
short reply_status()
SUCCESSFUL
,
SYSTEM_EXCEPTION
, USER_EXCEPTION
,
LOCATION_FORWARD
or TRANSPORT_RETRY
.int request_id()
boolean response_expected()
Any result()
short sync_scope()
SYNC_WITH_TRANSPORT.value
(1), always.