org.jacorb.orb.portableInterceptor
Class ClientRequestInfoImpl
java.lang.Object
org.omg.CORBA.LocalObject
org.jacorb.orb.portableInterceptor.RequestInfoImpl
org.jacorb.orb.portableInterceptor.ClientRequestInfoImpl
- All Implemented Interfaces:
- java.io.Serializable, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity, org.omg.PortableInterceptor.ClientRequestInfo, org.omg.PortableInterceptor.ClientRequestInfoOperations, org.omg.PortableInterceptor.RequestInfo, org.omg.PortableInterceptor.RequestInfoOperations
public class ClientRequestInfoImpl
- extends RequestInfoImpl
- implements org.omg.PortableInterceptor.ClientRequestInfo
This class represents the type of info object,
that will be passed to the ClientRequestInterceptors.
See PI Spec p.5-46ff
- Version:
- $Id: ClientRequestInfoImpl.java,v 1.32 2006/07/07 10:55:57 alphonse.bendt Exp $
- Author:
- Nicolas Noffke
- See Also:
- Serialized Form
Fields inherited from class org.jacorb.orb.portableInterceptor.RequestInfoImpl |
arguments, caller_op, current, exceptions, forward_reference, operation, reply_ctx, reply_status, request_ctx, request_id, response_expected, result |
Methods inherited from class org.jacorb.orb.portableInterceptor.RequestInfoImpl |
contexts, current, get_slot, operation_context, operation, request_id, response_expected, setArguments, setCurrent, setForwardReference, setReplyServiceContexts, setReplyStatus, setRequestServiceContexts, setResult |
Methods inherited from class org.omg.CORBA.LocalObject |
_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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.omg.PortableInterceptor.RequestInfoOperations |
contexts, get_slot, operation_context, operation, request_id, response_expected |
Methods inherited from interface org.omg.CORBA.Object |
_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 |
target
public org.omg.CORBA.Object target
effective_target
public final org.omg.CORBA.Object effective_target
effective_profile
public org.omg.IOP.TaggedProfile effective_profile
received_exception
public final org.omg.CORBA.Any received_exception
received_exception_id
public java.lang.String received_exception_id
effective_components
public final org.omg.IOP.TaggedComponent[] effective_components
delegate
public final Delegate delegate
orb
public final ORB orb
request_os
public final RequestOutputStream request_os
reply_is
public ReplyInputStream reply_is
connection
public final ClientConnection connection
ClientRequestInfoImpl
public ClientRequestInfoImpl(ORB orb,
ClientRequestInfoImpl original,
RequestOutputStream ros,
org.omg.CORBA.Object self,
Delegate delegate,
ParsedIOR piorOriginal,
ClientConnection connection)
setRequest
public final void setRequest(Request request)
getRequestServiceContexts
public java.util.Enumeration getRequestServiceContexts()
- This method builds an array of ServiceContexts.
The last ServiceContext is a dummy object for
data aligning purposes.
arguments
public org.omg.Dynamic.Parameter[] arguments()
- Specified by:
arguments
in interface org.omg.PortableInterceptor.RequestInfoOperations
- Overrides:
arguments
in class RequestInfoImpl
exceptions
public org.omg.CORBA.TypeCode[] exceptions()
- Specified by:
exceptions
in interface org.omg.PortableInterceptor.RequestInfoOperations
- Overrides:
exceptions
in class RequestInfoImpl
result
public org.omg.CORBA.Any result()
- Specified by:
result
in interface org.omg.PortableInterceptor.RequestInfoOperations
- Overrides:
result
in class RequestInfoImpl
sync_scope
public short sync_scope()
- Specified by:
sync_scope
in interface org.omg.PortableInterceptor.RequestInfoOperations
- Overrides:
sync_scope
in class RequestInfoImpl
reply_status
public short reply_status()
- Specified by:
reply_status
in interface org.omg.PortableInterceptor.RequestInfoOperations
- Overrides:
reply_status
in class RequestInfoImpl
forward_reference
public org.omg.CORBA.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.
- Specified by:
forward_reference
in interface org.omg.PortableInterceptor.RequestInfoOperations
- Overrides:
forward_reference
in class RequestInfoImpl
- Returns:
- an
org.omg.CORBA.Object
value
get_request_service_context
public org.omg.IOP.ServiceContext get_request_service_context(int id)
- Specified by:
get_request_service_context
in interface org.omg.PortableInterceptor.RequestInfoOperations
- Overrides:
get_request_service_context
in class RequestInfoImpl
get_reply_service_context
public org.omg.IOP.ServiceContext get_reply_service_context(int id)
- Specified by:
get_reply_service_context
in interface org.omg.PortableInterceptor.RequestInfoOperations
- Overrides:
get_reply_service_context
in class RequestInfoImpl
target
public org.omg.CORBA.Object target()
- Specified by:
target
in interface org.omg.PortableInterceptor.ClientRequestInfoOperations
effective_target
public org.omg.CORBA.Object effective_target()
- Specified by:
effective_target
in interface org.omg.PortableInterceptor.ClientRequestInfoOperations
effective_profile
public org.omg.IOP.TaggedProfile effective_profile()
- Specified by:
effective_profile
in interface org.omg.PortableInterceptor.ClientRequestInfoOperations
received_exception
public org.omg.CORBA.Any received_exception()
- Specified by:
received_exception
in interface org.omg.PortableInterceptor.ClientRequestInfoOperations
received_exception_id
public java.lang.String received_exception_id()
- Specified by:
received_exception_id
in interface org.omg.PortableInterceptor.ClientRequestInfoOperations
get_effective_component
public org.omg.IOP.TaggedComponent get_effective_component(int id)
- Specified by:
get_effective_component
in interface org.omg.PortableInterceptor.ClientRequestInfoOperations
get_effective_components
public org.omg.IOP.TaggedComponent[] get_effective_components(int id)
- Specified by:
get_effective_components
in interface org.omg.PortableInterceptor.ClientRequestInfoOperations
get_request_policy
public org.omg.CORBA.Policy get_request_policy(int type)
- WARNING: This method relies on the DomainService to be available.
Make shure that the DS is running, if you want to call this method.
- Specified by:
get_request_policy
in interface org.omg.PortableInterceptor.ClientRequestInfoOperations
add_request_service_context
public void add_request_service_context(org.omg.IOP.ServiceContext service_context,
boolean replace)
- Specified by:
add_request_service_context
in interface org.omg.PortableInterceptor.ClientRequestInfoOperations