org.jacorb.orb.portableInterceptor

Class ClientRequestInfoImpl

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.24 2004/05/06 12:40:00 nicolas Exp $

Author:
Nicolas Noffke

Field Summary

ClientConnection
connection
Delegate
delegate
TaggedComponent[]
effective_components
TaggedProfile
effective_profile
Object
effective_target
ORB
orb
Any
received_exception
String
received_exception_id
ReplyInputStream
reply_is
RequestOutputStream
request_os
Object
target

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

Constructor Summary

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

Method Summary

void
add_request_service_context(ServiceContext service_context, boolean replace)
Parameter[]
arguments()
TaggedProfile
effective_profile()
Object
effective_target()
TypeCode[]
exceptions()
Object
forward_reference()
Enumeration
getRequestServiceContexts()
This method builds an array of ServiceContexts.
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)
Any
received_exception()
String
received_exception_id()
short
reply_status()
Any
result()
void
setRequest(Request request)
short
sync_scope()
Object
target()

Methods inherited from class org.jacorb.orb.portableInterceptor.RequestInfoImpl

arguments, contexts, exceptions, forward_reference, get_reply_service_context, get_request_service_context, get_slot, operation, operation_context, reply_status, request_id, response_expected, result, setReplyServiceContexts, setRequestServiceContexts, sync_scope

Methods inherited from class org.omg.CORBA.LocalObject

_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface, _get_interface_def, _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

Field Details

connection

public ClientConnection connection


delegate

public Delegate delegate


effective_components

public TaggedComponent[] effective_components


effective_profile

public TaggedProfile effective_profile


effective_target

public Object effective_target


orb

public ORB orb


received_exception

public Any received_exception


received_exception_id

public String received_exception_id


reply_is

public ReplyInputStream reply_is


request_os

public RequestOutputStream request_os


target

public Object target

Constructor Details

ClientRequestInfoImpl

public ClientRequestInfoImpl()


ClientRequestInfoImpl

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

Method Details

add_request_service_context

public void add_request_service_context(ServiceContext service_context,
                                        boolean replace)
Specified by:
add_request_service_context in interface ClientRequestInfoOperations


arguments

public Parameter[] arguments()
Specified by:
arguments in interface RequestInfoOperations
Overrides:
arguments in interface RequestInfoImpl


effective_profile

public TaggedProfile effective_profile()
Specified by:
effective_profile in interface ClientRequestInfoOperations


effective_target

public Object effective_target()
Specified by:
effective_target in interface ClientRequestInfoOperations


exceptions

public TypeCode[] exceptions()
Specified by:
exceptions in interface RequestInfoOperations
Overrides:
exceptions in interface RequestInfoImpl


forward_reference

public Object forward_reference()
Specified by:
forward_reference in interface RequestInfoOperations
Overrides:
forward_reference in interface RequestInfoImpl


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)
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_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 interface RequestInfoImpl


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


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 interface RequestInfoImpl


received_exception

public Any received_exception()
Specified by:
received_exception in interface ClientRequestInfoOperations


received_exception_id

public String received_exception_id()
Specified by:
received_exception_id in interface ClientRequestInfoOperations


reply_status

public short reply_status()
Specified by:
reply_status in interface RequestInfoOperations
Overrides:
reply_status in interface RequestInfoImpl


result

public Any result()
Specified by:
result in interface RequestInfoOperations
Overrides:
result in interface RequestInfoImpl


setRequest

public void setRequest(Request request)


sync_scope

public short sync_scope()
Specified by:
sync_scope in interface RequestInfoOperations
Overrides:
sync_scope in interface RequestInfoImpl


target

public Object target()
Specified by:
target in interface ClientRequestInfoOperations