public final class ServerRequestInfoImpl extends RequestInfoImpl implements ServerRequestInfo, ServerRequestInfoExt
connection, exception, MID_ARGUMENTS, MID_CONTEXTS, MID_EXCEPTIONS, MID_FORWARD_REFERENCE, MID_GET_REPLY_SERVICE_CONTEXT, MID_GET_REQUEST_SERVICE_CONTEXT, MID_GET_SLOT, MID_OPERATION, MID_OPERATION_CONTEXT, MID_REPLY_STATUS, MID_REQUEST_ID, MID_RESPONSE_EXPECTED, MID_RESULT, MID_RI_LAST, MID_SYNC_SCOPE, myORB, replyStatus, wrapper| Modifier and Type | Method and Description |
|---|---|
byte[] |
adapter_id()
The opaque identifier for the object adapter.
|
String[] |
adapter_name() |
void |
add_reply_service_context(ServiceContext service_context,
boolean replace)
Allows Interceptors to add service contexts to the request.
|
Parameter[] |
arguments()
See ServerRequestInfo for javadocs.
|
protected void |
checkAccess(int methodID)
See description for RequestInfoImpl.checkAccess
|
String[] |
contexts()
See ServerRequestInfo for javadocs.
|
TypeCode[] |
exceptions()
See ServerRequestInfo for javadocs.
|
Object |
forward_reference()
See ServerRequestInfo for javadocs.
|
ServiceContext |
get_reply_service_context(int id)
See ServerRequestInfo for javadocs.
|
ServiceContext |
get_request_service_context(int id)
See ServerRequestInfo for javadocs.
|
Policy |
get_server_policy(int type)
Returns the policy in effect for this operation for the given policy
type.
|
boolean |
isNameService() |
byte[] |
object_id()
The opaque object_id describing the target of the operation invocation.
|
String[] |
operation_context()
See ServerRequestInfo for javadocs.
|
String |
operation()
See ServerRequestInfo for javadocs.
|
String |
orb_id() |
int |
request_id()
See ServerRequestInfo for javadocs.
|
boolean |
response_expected()
See ServerRequestInfo for javadocs.
|
Any |
result()
See ServerRequestInfo for javadocs.
|
Any |
sending_exception()
Any containing the exception to be returned to the client.
|
String |
server_id() |
void |
set_slot(int id,
Any data)
Allows an Interceptor to set a slot in the Current that is in the scope
of the request.
|
protected void |
setCurrentExecutionPoint(int executionPoint)
Overridden from RequestInfoImpl.
|
protected void |
setDSIArguments(NVList arguments)
Stores the various sources of information used for this info object.
|
protected void |
setDSIException(Any exception)
Stores the various sources of information used for this info object.
|
protected void |
setDSIResult(Any result)
Stores the various sources of information used for this info object.
|
protected void |
setException(Exception exception)
Sets the exception to be returned by received_exception and
received_exception_id.
|
protected void |
setInfo(MessageMediator request,
ObjectAdapter oa,
byte[] objectId,
ObjectKeyTemplate oktemp)
Stores the various sources of information used for this info object.
|
protected void |
setInfo(Object servant,
String targetMostDerivedInterface)
Stores the various sources of information used for this info object.
|
protected void |
setReplyStatus(short replyStatus)
Overridden from RequestInfoImpl.
|
boolean |
target_is_a(String id)
Returns true if the servant is the given RepositoryId, false if it is
not.
|
String |
target_most_derived_interface()
The RepositoryID for the most derived interface of the servant.
|
String |
toString() |
_orb, addServiceContext, connection, exceptionToAny, get_slot, getAlreadyExecuted, getEndingPointCall, getFlowStackIndex, getForwardRequestException, getForwardRequestIOR, getIntermediatePointCall, getReplyStatus, getServiceContext, getStartingPointCall, iorToObject, nvListToParameterArray, reply_status, setAlreadyExecuted, setEndingPointCall, setFlowStackIndex, setForwardRequest, setForwardRequest, setIntermediatePointCall, setStartingPointCall, sync_scope_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connectionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitget_slot, reply_status, sync_scope_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_overridepublic Any sending_exception()
sending_exception in interface ServerRequestInfoOperationspublic byte[] object_id()
object_id in interface ServerRequestInfoOperationspublic String server_id()
server_id in interface ServerRequestInfoOperationspublic String orb_id()
orb_id in interface ServerRequestInfoOperationspublic String[] adapter_name()
adapter_name in interface ServerRequestInfoOperationspublic byte[] adapter_id()
adapter_id in interface ServerRequestInfoOperationspublic String target_most_derived_interface()
target_most_derived_interface in interface ServerRequestInfoOperationspublic Policy get_server_policy(int type)
get_server_policy in interface ServerRequestInfoOperationspublic void set_slot(int id,
Any data)
throws InvalidSlot
set_slot in interface ServerRequestInfoOperationsInvalidSlotpublic boolean target_is_a(String id)
target_is_a in interface ServerRequestInfoOperationspublic void add_reply_service_context(ServiceContext service_context, boolean replace)
add_reply_service_context in interface ServerRequestInfoOperationspublic int request_id()
request_id in interface RequestInfoOperationsrequest_id in class RequestInfoImplpublic String operation()
operation in interface RequestInfoOperationsoperation in class RequestInfoImplpublic Parameter[] arguments()
arguments in interface RequestInfoOperationsarguments in class RequestInfoImplpublic TypeCode[] exceptions()
exceptions in interface RequestInfoOperationsexceptions in class RequestInfoImplpublic String[] contexts()
contexts in interface RequestInfoOperationscontexts in class RequestInfoImplpublic String[] operation_context()
operation_context in interface RequestInfoOperationsoperation_context in class RequestInfoImplpublic Any result()
result in interface RequestInfoOperationsresult in class RequestInfoImplpublic boolean response_expected()
response_expected in interface RequestInfoOperationsresponse_expected in class RequestInfoImplpublic Object forward_reference()
forward_reference in interface RequestInfoOperationsforward_reference in class RequestInfoImplpublic ServiceContext get_request_service_context(int id)
get_request_service_context in interface RequestInfoOperationsget_request_service_context in class RequestInfoImplpublic ServiceContext get_reply_service_context(int id)
get_reply_service_context in interface RequestInfoOperationsget_reply_service_context in class RequestInfoImplpublic boolean isNameService()
isNameService in interface ServerRequestInfoExtprotected void setCurrentExecutionPoint(int executionPoint)
setCurrentExecutionPoint in class RequestInfoImplprotected void setInfo(MessageMediator request, ObjectAdapter oa, byte[] objectId, ObjectKeyTemplate oktemp)
protected void setDSIArguments(NVList arguments)
protected void setDSIException(Any exception)
protected void setDSIResult(Any result)
protected void setException(Exception exception)
setException in class RequestInfoImplprotected void setInfo(Object servant, String targetMostDerivedInterface)
protected void setReplyStatus(short replyStatus)
setReplyStatus in class RequestInfoImplprotected void checkAccess(int methodID)
checkAccess in class RequestInfoImplmethodID - The ID of this method, one of the MID_* constants.
This allows us to easily look up the method access in a table.
Note that method ids may overlap between subclasses.Copyright © 2017–2019 Eclipse Foundation. All rights reserved.