org.jacorb.orb.portableInterceptor

Class ClientRequestInfoImpl

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.32 2006/07/07 10:55:57 alphonse.bendt Exp $

Author: Nicolas Noffke

Field Summary
ClientConnectionconnection
Delegatedelegate
TaggedComponent[]effective_components
TaggedProfileeffective_profile
Objecteffective_target
ORBorb
Anyreceived_exception
Stringreceived_exception_id
ReplyInputStreamreply_is
RequestOutputStreamrequest_os
Objecttarget
Constructor Summary
ClientRequestInfoImpl(ORB orb, ClientRequestInfoImpl original, RequestOutputStream ros, Object self, Delegate delegate, ParsedIOR piorOriginal, ClientConnection connection)
Method Summary
voidadd_request_service_context(ServiceContext service_context, boolean replace)
Parameter[]arguments()
TaggedProfileeffective_profile()
Objecteffective_target()
TypeCode[]exceptions()
Objectforward_reference()
forward_reference returns the forward reference for the client request.
EnumerationgetRequestServiceContexts()
This method builds an array of ServiceContexts.
TaggedComponentget_effective_component(int id)
TaggedComponent[]get_effective_components(int id)
ServiceContextget_reply_service_context(int id)
Policyget_request_policy(int type)
WARNING: This method relies on the DomainService to be available.
ServiceContextget_request_service_context(int id)
Anyreceived_exception()
Stringreceived_exception_id()
shortreply_status()
Anyresult()
voidsetRequest(Request request)
shortsync_scope()
Objecttarget()

Field Detail

connection

public final ClientConnection connection

delegate

public final Delegate delegate

effective_components

public final TaggedComponent[] effective_components

effective_profile

public TaggedProfile effective_profile

effective_target

public final Object effective_target

orb

public final ORB orb

received_exception

public final Any received_exception

received_exception_id

public String received_exception_id

reply_is

public ReplyInputStream reply_is

request_os

public final RequestOutputStream request_os

target

public Object target

Constructor Detail

ClientRequestInfoImpl

public ClientRequestInfoImpl(ORB orb, ClientRequestInfoImpl original, RequestOutputStream ros, Object self, Delegate delegate, ParsedIOR piorOriginal, ClientConnection connection)

Method Detail

add_request_service_context

public void add_request_service_context(ServiceContext service_context, boolean replace)

arguments

public Parameter[] arguments()

effective_profile

public TaggedProfile effective_profile()

effective_target

public Object effective_target()

exceptions

public TypeCode[] exceptions()

forward_reference

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.

Returns: an org.omg.CORBA.Object value

getRequestServiceContexts

public Enumeration getRequestServiceContexts()
This method builds an array of ServiceContexts. The last ServiceContext is a dummy object for data aligning purposes.

get_effective_component

public TaggedComponent get_effective_component(int id)

get_effective_components

public TaggedComponent[] get_effective_components(int id)

get_reply_service_context

public ServiceContext get_reply_service_context(int id)

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.

get_request_service_context

public ServiceContext get_request_service_context(int id)

received_exception

public Any received_exception()

received_exception_id

public String received_exception_id()

reply_status

public short reply_status()

result

public Any result()

setRequest

public final void setRequest(Request request)

sync_scope

public short sync_scope()

target

public Object target()