public class ClientRequestInfoImpl extends RequestInfoImpl implements ClientRequestInfo
Modifier and Type | Field and Description |
---|---|
protected Delegate |
delegate |
protected Any |
received_exception |
protected String |
received_exception_id |
protected ReplyInputStream |
reply_is |
protected RequestOutputStream |
request_os |
arguments, caller_op, current, exceptions, forward_reference, operation, orb, reply_ctx, reply_status, request_ctx, request_id, response_expected, result, sync_scope
Constructor and Description |
---|
ClientRequestInfoImpl(ORB orb,
ClientRequestInfoImpl original,
RequestOutputStream ros,
Object self,
Delegate delegate,
ParsedIOR piorOriginal,
ClientConnection connection,
Map<Delegate.INVOCATION_KEY,org.omg.TimeBase.UtcT> invocationContext) |
ClientRequestInfoImpl(ORB orb,
String operation,
boolean response_expected,
short sync_scope,
Object self,
Delegate delegate,
ParsedIOR piorOriginal,
Map<Delegate.INVOCATION_KEY,org.omg.TimeBase.UtcT> invocationContext)
Constructor for local calls involving portable interceptors.
|
Modifier and Type | Method and Description |
---|---|
void |
add_request_service_context(ServiceContext service_context,
boolean replace) |
Parameter[] |
arguments() |
TaggedProfile |
effective_profile() |
Object |
effective_target() |
TypeCode[] |
exceptions() |
Object |
forward_reference()
forward_reference returns the forward reference for the client request. |
TaggedComponent |
get_effective_component(int id) |
TaggedComponent[] |
get_effective_components(int id) |
ServiceContext |
get_reply_service_context(int id) |
Policy |
get_request_policy(int type)
WARNING: This method relies on the DomainService to be available.
|
ServiceContext |
get_request_service_context(int id) |
ClientConnection |
getConnection()
Public accessor to return the connection being used by this ClientRequestInfoImpl.
|
Delegate |
getDelegate()
Public accessor to access the Delegate for this client request.
|
ReplyInputStream |
getReplyStream()
Public accessor to access the internal reply stream.
|
RequestOutputStream |
getRequestStream()
Public accessor to access the internal request stream.
|
boolean |
isLocalInterceptor()
Public accessor to determine if this interceptor is being used in a local call.
|
String |
received_exception_id() |
Any |
received_exception() |
short |
reply_status() |
Any |
result() |
void |
setRequest(Request request) |
short |
sync_scope()
Return the sync_scope as set in the constructor
|
Object |
target() |
contexts, current, get_slot, getReplyServiceContexts, getRequestServiceContexts, operation_context, operation, orb, request_id, response_expected, setArguments, setCurrent, setForwardReference, setReplyServiceContexts, setReplyStatus, setRequestServiceContexts, setResult
_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
contexts, get_slot, operation_context, operation, request_id, response_expected
_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 final Any received_exception
protected Delegate delegate
protected RequestOutputStream request_os
protected String received_exception_id
protected ReplyInputStream reply_is
public ClientRequestInfoImpl(ORB orb, ClientRequestInfoImpl original, RequestOutputStream ros, Object self, Delegate delegate, ParsedIOR piorOriginal, ClientConnection connection, Map<Delegate.INVOCATION_KEY,org.omg.TimeBase.UtcT> invocationContext)
public ClientRequestInfoImpl(ORB orb, String operation, boolean response_expected, short sync_scope, Object self, Delegate delegate, ParsedIOR piorOriginal, Map<Delegate.INVOCATION_KEY,org.omg.TimeBase.UtcT> invocationContext)
public final void setRequest(Request request)
public Parameter[] arguments()
arguments
in interface RequestInfoOperations
arguments
in class RequestInfoImpl
public TypeCode[] exceptions()
exceptions
in interface RequestInfoOperations
exceptions
in class RequestInfoImpl
public Any result()
result
in interface RequestInfoOperations
result
in class RequestInfoImpl
public short sync_scope()
RequestInfoImpl
sync_scope
in interface RequestInfoOperations
sync_scope
in class RequestInfoImpl
public short reply_status()
reply_status
in interface RequestInfoOperations
reply_status
in class RequestInfoImpl
public Object forward_reference()
forward_reference
returns the forward reference for the client request. Note
that the current version of the specification does not permit this to be accessed by
SendRequest; this modification is a PrismTech enhancement complying one of the suggested
portable solutions within http://www.omg.org/issues/issue5266.txt.forward_reference
in interface RequestInfoOperations
forward_reference
in class RequestInfoImpl
org.omg.CORBA.Object
valuepublic ServiceContext get_request_service_context(int id)
get_request_service_context
in interface RequestInfoOperations
get_request_service_context
in class RequestInfoImpl
public ServiceContext get_reply_service_context(int id)
get_reply_service_context
in interface RequestInfoOperations
get_reply_service_context
in class RequestInfoImpl
public Object target()
target
in interface ClientRequestInfoOperations
public Object effective_target()
effective_target
in interface ClientRequestInfoOperations
public TaggedProfile effective_profile()
effective_profile
in interface ClientRequestInfoOperations
public Any received_exception()
received_exception
in interface ClientRequestInfoOperations
public String received_exception_id()
received_exception_id
in interface ClientRequestInfoOperations
public TaggedComponent get_effective_component(int id)
get_effective_component
in interface ClientRequestInfoOperations
public TaggedComponent[] get_effective_components(int id)
get_effective_components
in interface ClientRequestInfoOperations
public Policy get_request_policy(int type)
get_request_policy
in interface ClientRequestInfoOperations
public void add_request_service_context(ServiceContext service_context, boolean replace)
add_request_service_context
in interface ClientRequestInfoOperations
public ClientConnection getConnection()
public boolean isLocalInterceptor()
public ReplyInputStream getReplyStream()
public RequestOutputStream getRequestStream()
public Delegate getDelegate()
Copyright © 2017 JacORB. All rights reserved.