public final class ClientRequestInfoImpl extends RequestInfoImpl implements ClientRequestInfo
Modifier and Type | Field and Description |
---|---|
protected static int |
MID_ADD_REQUEST_SERVICE_CONTEXT |
protected static int |
MID_EFFECTIVE_PROFILE |
protected static int |
MID_EFFECTIVE_TARGET |
protected static int |
MID_GET_EFFECTIVE_COMPONENT |
protected static int |
MID_GET_EFFECTIVE_COMPONENTS |
protected static int |
MID_GET_REQUEST_POLICY |
protected static int |
MID_RECEIVED_EXCEPTION |
protected static int |
MID_RECEIVED_EXCEPTION_ID |
protected static int |
MID_TARGET |
protected boolean |
piCurrentPushed |
alreadyExecuted, connection, currentExecutionPoint, endingPointCall, exception, EXECUTION_POINT_ENDING, EXECUTION_POINT_INTERMEDIATE, EXECUTION_POINT_STARTING, flowStackIndex, forwardRequest, forwardRequestIOR, intermediatePointCall, 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, serviceContexts, slotTable, startingPointCall, stdWrapper, UNINITIALIZED, 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 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) |
protected 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.
|
addServiceContext, exceptionToAny, get_slot, getAlreadyExecuted, getEndingPointCall, getFlowStackIndex, getForwardRequestException, getForwardRequestIOR, getIntermediatePointCall, getReplyStatus, 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, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get_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_override
protected boolean piCurrentPushed
protected static final int MID_TARGET
protected static final int MID_EFFECTIVE_TARGET
protected static final int MID_EFFECTIVE_PROFILE
protected static final int MID_RECEIVED_EXCEPTION
protected static final int MID_RECEIVED_EXCEPTION_ID
protected static final int MID_GET_EFFECTIVE_COMPONENT
protected static final int MID_GET_EFFECTIVE_COMPONENTS
protected static final int MID_GET_REQUEST_POLICY
protected static final int MID_ADD_REQUEST_SERVICE_CONTEXT
protected ClientRequestInfoImpl(ORB myORB)
public Object target()
target
in interface ClientRequestInfoOperations
ClientRequestInfoOperations.effective_target()
public Object effective_target()
effective_target
in interface ClientRequestInfoOperations
ClientRequestInfoOperations.target()
public TaggedProfile effective_profile()
effective_profile
in interface ClientRequestInfoOperations
public Any received_exception()
received_exception
in interface ClientRequestInfoOperations
ClientRequestInfoOperations.received_exception_id()
public String received_exception_id()
public TaggedComponent get_effective_component(int id)
get_effective_component
in interface ClientRequestInfoOperations
id
- The component id of the component which
is to be returned.IOP.TaggedComponent
obtained with the
given identifier.ClientRequestInfoOperations.get_effective_components(int)
public TaggedComponent[] get_effective_components(int id)
get_effective_components
in interface ClientRequestInfoOperations
id
- The component id of the components which are to be returned.TaggedComponent
objects, each of
which contains the given identifier.ClientRequestInfoOperations.get_effective_component(int)
public Policy get_request_policy(int type)
get_request_policy
in interface ClientRequestInfoOperations
type
- The policy type which specifies the policy to be
returned.CORBA.Policy
obtained with the given type.PortableInterceptor
package comments for
limitations / unimplemented featurespublic 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 ClientRequestInfoOperations
service_context
- The IOP.ServiceContext
to be
added to the request.replace
- Indicates the behavior of this operation when a
service context already exists with the given ID. If false,
then BAD_INV_ORDER
with a standard minor code of 15
is thrown. If true, then the existing service context is
replaced by the new one.public int request_id()
request_id
in interface RequestInfoOperations
request_id
in class RequestInfoImpl
public String operation()
operation
in interface RequestInfoOperations
operation
in class RequestInfoImpl
public Parameter[] arguments()
arguments
in interface RequestInfoOperations
arguments
in class RequestInfoImpl
PortableInterceptor
package comments for
limitations / unimplemented featurespublic TypeCode[] exceptions()
exceptions
in interface RequestInfoOperations
exceptions
in class RequestInfoImpl
PortableInterceptor
package comments for
limitations / unimplemented featurespublic String[] contexts()
contexts
in interface RequestInfoOperations
contexts
in class RequestInfoImpl
PortableInterceptor
package comments for
limitations / unimplemented featurespublic String[] operation_context()
operation_context
in interface RequestInfoOperations
operation_context
in class RequestInfoImpl
PortableInterceptor
package comments for
limitations / unimplemented featurespublic Any result()
result
in interface RequestInfoOperations
result
in class RequestInfoImpl
PortableInterceptor
package comments for
limitations / unimplemented featurespublic boolean response_expected()
response_expected
in interface RequestInfoOperations
response_expected
in class RequestInfoImpl
public Object forward_reference()
forward_reference
in interface RequestInfoOperations
forward_reference
in class RequestInfoImpl
protected void setLocatedIOR(IOR ior)
public ServiceContext get_request_service_context(int id)
get_request_service_context
in interface RequestInfoOperations
get_request_service_context
in class RequestInfoImpl
id
- The IOP.ServiceId
of the service context
which is to be returned.IOP.ServiceContext
obtained with the
given identifier.public ServiceContext get_reply_service_context(int id)
get_reply_service_context
in interface RequestInfoOperations
get_reply_service_context
in class RequestInfoImpl
id
- The IOP.ServiceId
of the service context
which is to be returned.IOP.ServiceContext
obtained with the given
identifier.public Connection connection()
connection
in interface RequestInfoExt
connection
in class RequestInfoImpl
protected void setInfo(MessageMediator messageMediator)
protected void setReplyStatus(short replyStatus)
setReplyStatus
in class RequestInfoImpl
protected 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 RequestInfoImpl
protected boolean getIsOneWay()
protected void checkAccess(int methodID) throws BAD_INV_ORDER
checkAccess
in class RequestInfoImpl
methodID
- 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_ORDER
Copyright © 2021 JBoss by Red Hat. All rights reserved.