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:
- ClientRequestInfo, ClientRequestInfoOperations, IDLEntity, Object, RequestInfo, RequestInfoOperations, java.io.Serializable
- public class ClientRequestInfoImpl
- extends RequestInfoImpl
- implements 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.27 2005/05/12 21:59:12 andre.spiegel 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, _ids, _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.CORBA.Object |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
target
public Object target
effective_target
public Object effective_target
effective_profile
public TaggedProfile effective_profile
received_exception
public Any received_exception
received_exception_id
public java.lang.String received_exception_id
effective_components
public TaggedComponent[] effective_components
delegate
public Delegate delegate
orb
public ORB orb
request_os
public RequestOutputStream request_os
reply_is
public ReplyInputStream reply_is
connection
public ClientConnection connection
ClientRequestInfoImpl
public ClientRequestInfoImpl(ORB orb,
RequestOutputStream ros,
Object self,
Delegate delegate,
ParsedIOR piorOriginal,
ClientConnection connection)
setRequest
public 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 Parameter[] arguments()
- Specified by:
arguments
in interface RequestInfoOperations
- Overrides:
arguments
in class RequestInfoImpl
exceptions
public TypeCode[] exceptions()
- Specified by:
exceptions
in interface RequestInfoOperations
- Overrides:
exceptions
in class RequestInfoImpl
result
public Any result()
- Specified by:
result
in interface RequestInfoOperations
- Overrides:
result
in class RequestInfoImpl
sync_scope
public short sync_scope()
- Specified by:
sync_scope
in interface RequestInfoOperations
- Overrides:
sync_scope
in class RequestInfoImpl
reply_status
public short reply_status()
- Specified by:
reply_status
in interface RequestInfoOperations
- Overrides:
reply_status
in class RequestInfoImpl
forward_reference
public Object forward_reference()
- Specified by:
forward_reference
in interface RequestInfoOperations
- Overrides:
forward_reference
in class RequestInfoImpl
get_request_service_context
public ServiceContext get_request_service_context(int id)
- Specified by:
get_request_service_context
in interface RequestInfoOperations
- Overrides:
get_request_service_context
in class RequestInfoImpl
get_reply_service_context
public ServiceContext get_reply_service_context(int id)
- Specified by:
get_reply_service_context
in interface RequestInfoOperations
- Overrides:
get_reply_service_context
in class RequestInfoImpl
target
public Object target()
- Specified by:
target
in interface ClientRequestInfoOperations
effective_target
public Object effective_target()
- Specified by:
effective_target
in interface ClientRequestInfoOperations
effective_profile
public TaggedProfile effective_profile()
- Specified by:
effective_profile
in interface ClientRequestInfoOperations
received_exception
public Any received_exception()
- Specified by:
received_exception
in interface ClientRequestInfoOperations
received_exception_id
public java.lang.String received_exception_id()
- Specified by:
received_exception_id
in interface ClientRequestInfoOperations
get_effective_component
public TaggedComponent get_effective_component(int id)
- Specified by:
get_effective_component
in interface ClientRequestInfoOperations
get_effective_components
public TaggedComponent[] get_effective_components(int id)
- Specified by:
get_effective_components
in interface ClientRequestInfoOperations
get_request_policy
public 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 ClientRequestInfoOperations
add_request_service_context
public void add_request_service_context(ServiceContext service_context,
boolean replace)
- Specified by:
add_request_service_context
in interface ClientRequestInfoOperations