public final class ClientRequestInfoImpl extends RequestInfoImpl implements ClientRequestInfo
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 | Constructor and Description |
|---|---|
protected |
ClientRequestInfoImpl(ORB myORB)
Creates a new ClientRequestInfo implementation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add_request_service_context(ServiceContext service_context,
boolean replace)
Allows interceptors to add service contexts to the request.
|
Parameter[] |
arguments()
See RequestInfoImpl for javadoc.
|
protected void |
checkAccess(int methodID)
See description for RequestInfoImpl.checkAccess
|
Connection |
connection() |
String[] |
contexts()
See RequestInfoImpl for javadoc.
|
TaggedProfile |
effective_profile()
The profile that will be used to send the request.
|
Object |
effective_target()
The actual object on which the operation will be invoked.
|
TypeCode[] |
exceptions()
See RequestInfoImpl for javadoc.
|
Object |
forward_reference()
See RequestInfoImpl for javadoc.
|
TaggedComponent |
get_effective_component(int id)
Returns the IOP::TaggedComponent with the given ID from the profile
selected for this request.
|
TaggedComponent[] |
get_effective_components(int id)
Returns all the tagged components with the given ID from the profile
selected for this request.
|
ServiceContext |
get_reply_service_context(int id)
does not contain an etry for that ID, BAD_PARAM with a minor code of
TBD_BP is raised.
|
Policy |
get_request_policy(int type)
Returns the given policy in effect for this operation.
|
ServiceContext |
get_request_service_context(int id)
See RequestInfoImpl for javadoc.
|
protected boolean |
getIsOneWay() |
protected short |
getReplyStatus()
Gets the current reply_status without doing an access check
(available only to package and subclasses)
|
protected boolean |
isDIIInitiate()
See comment for setDIIInitiate
|
protected boolean |
isPICurrentPushed() |
String[] |
operation_context()
See RequestInfoImpl for javadoc.
|
String |
operation()
See RequestInfoImpl for javadoc.
|
String |
received_exception_id()
The CORBA::RepositoryId of the exception to be returned to the client.
|
Any |
received_exception()
Contains the exception to be returned to the client.
|
int |
request_id()
See RequestInfoImpl for javadoc.
|
boolean |
response_expected()
See RequestInfoImpl for javadoc.
|
Any |
result()
See RequestInfoImpl for javadoc.
|
protected void |
setDIIInitiate(boolean diiInitiate)
Keeps track of whether initiate was called for a DII request.
|
protected void |
setDIIRequest(Request req)
Sets DII request object in the RequestInfoObject.
|
protected void |
setException(Exception exception)
Overridden from RequestInfoImpl.
|
protected void |
setInfo(MessageMediator messageMediator) |
void |
setLocatedIOR(IOR ior) |
protected void |
setPICurrentPushed(boolean piCurrentPushed)
The PICurrent stack should only be popped if it was pushed.
|
protected void |
setReplyStatus(short replyStatus)
Overridden from RequestInfoImpl.
|
Object |
target()
The object which the client called to perform the operation.
|
String |
toString() |
_orb, addServiceContext, exceptionToAny, get_slot, getAlreadyExecuted, getEndingPointCall, getFlowStackIndex, getForwardRequestException, getForwardRequestIOR, getIntermediatePointCall, getServiceContext, getStartingPointCall, iorToObject, nvListToParameterArray, reply_status, setAlreadyExecuted, setCurrentExecutionPoint, 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_overrideprotected ClientRequestInfoImpl(ORB myORB)
public Object target()
target in interface ClientRequestInfoOperationspublic Object effective_target()
effective_target in interface ClientRequestInfoOperationspublic TaggedProfile effective_profile()
effective_profile in interface ClientRequestInfoOperationspublic Any received_exception()
received_exception in interface ClientRequestInfoOperationspublic String received_exception_id()
received_exception_id in interface ClientRequestInfoOperationspublic TaggedComponent get_effective_component(int id)
get_effective_component in interface ClientRequestInfoOperationspublic TaggedComponent[] get_effective_components(int id)
get_effective_components in interface ClientRequestInfoOperationspublic Policy get_request_policy(int type)
get_request_policy in interface ClientRequestInfoOperationspublic void add_request_service_context(ServiceContext service_context, boolean replace)
There is no declaration of the order of the service contexts. They may or may not appear in the order they are added.
add_request_service_context in interface ClientRequestInfoOperationspublic 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 void setLocatedIOR(IOR ior)
public 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 Connection connection()
connection in interface RequestInfoExtconnection in class RequestInfoImplprotected void setInfo(MessageMediator messageMediator)
protected void setReplyStatus(short replyStatus)
setReplyStatus in class RequestInfoImplprotected short getReplyStatus()
RequestInfoImplgetReplyStatus in class RequestInfoImplprotected void setDIIRequest(Request req)
protected void setDIIInitiate(boolean diiInitiate)
protected boolean isDIIInitiate()
protected void setPICurrentPushed(boolean piCurrentPushed)
protected boolean isPICurrentPushed()
protected void setException(Exception exception)
setException in class RequestInfoImplprotected boolean getIsOneWay()
protected void checkAccess(int methodID)
throws BAD_INV_ORDER
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.BAD_INV_ORDERCopyright © 2017–2019 Eclipse Foundation. All rights reserved.