org.jacorb.orb.portableInterceptor
Class RequestInfoImpl

java.lang.Object
  extended by org.omg.CORBA.LocalObject
      extended by org.jacorb.orb.portableInterceptor.RequestInfoImpl
All Implemented Interfaces:
java.io.Serializable, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity, org.omg.PortableInterceptor.RequestInfo, org.omg.PortableInterceptor.RequestInfoOperations
Direct Known Subclasses:
ClientRequestInfoImpl, ServerRequestInfoImpl

public abstract class RequestInfoImpl
extends org.omg.CORBA.LocalObject
implements org.omg.PortableInterceptor.RequestInfo

This is the abstract base class of the two Info classes, namely ClientRequestInfo and ServerRequestInfo.
See PI Spec p. 5-41ff

Version:
$Id: RequestInfoImpl.java,v 1.11 2006/07/07 10:55:57 alphonse.bendt Exp $
Author:
Nicolas Noffke
See Also:
Serialized Form

Field Summary
protected  org.omg.Dynamic.Parameter[] arguments
           
protected  short caller_op
           
protected  org.omg.PortableInterceptor.Current current
           
protected  org.omg.CORBA.TypeCode[] exceptions
           
protected  org.omg.CORBA.Object forward_reference
           
protected  java.lang.String operation
           
protected  java.util.Hashtable reply_ctx
           
protected  short reply_status
           
protected  java.util.Hashtable request_ctx
           
protected  int request_id
           
protected  boolean response_expected
           
protected  org.omg.CORBA.Any result
           
 
Constructor Summary
RequestInfoImpl()
           
 
Method Summary
 org.omg.Dynamic.Parameter[] arguments()
           
 java.lang.String[] contexts()
           
 org.omg.PortableInterceptor.Current current()
           
 org.omg.CORBA.TypeCode[] exceptions()
           
 org.omg.CORBA.Object forward_reference()
           
 org.omg.IOP.ServiceContext get_reply_service_context(int id)
           
 org.omg.IOP.ServiceContext get_request_service_context(int id)
           
 org.omg.CORBA.Any get_slot(int id)
           
 java.lang.String[] operation_context()
           
 java.lang.String operation()
           
 short reply_status()
           
 int request_id()
           
 boolean response_expected()
           
 org.omg.CORBA.Any result()
           
 void setArguments(org.omg.Dynamic.Parameter[] args)
           
 void setCurrent(org.omg.PortableInterceptor.Current current)
           
 void setForwardReference(org.omg.CORBA.Object forward_reference)
           
 void setReplyServiceContexts(org.omg.IOP.ServiceContext[] ctx)
          Make the existing reply ServiceContexts available to the interceptors.
 void setReplyStatus(short reply_status)
           
 void setRequestServiceContexts(org.omg.IOP.ServiceContext[] ctx)
          Make the existing request ServiceContexts available to the interceptors.
 void setResult(org.omg.CORBA.Any result)
           
 short sync_scope()
           
 
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.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
 

Field Detail

request_id

protected int request_id

operation

protected java.lang.String operation

arguments

protected org.omg.Dynamic.Parameter[] arguments

exceptions

protected org.omg.CORBA.TypeCode[] exceptions

result

protected org.omg.CORBA.Any result

response_expected

protected boolean response_expected

forward_reference

protected org.omg.CORBA.Object forward_reference

reply_status

protected short reply_status

current

protected org.omg.PortableInterceptor.Current current

request_ctx

protected final java.util.Hashtable request_ctx

reply_ctx

protected final java.util.Hashtable reply_ctx

caller_op

protected short caller_op
Constructor Detail

RequestInfoImpl

public RequestInfoImpl()
Method Detail

setRequestServiceContexts

public void setRequestServiceContexts(org.omg.IOP.ServiceContext[] ctx)
Make the existing request ServiceContexts available to the interceptors. Only one ServiceContext per id is allowed.


setReplyServiceContexts

public void setReplyServiceContexts(org.omg.IOP.ServiceContext[] ctx)
Make the existing reply ServiceContexts available to the interceptors. Only one ServiceContext per id is allowed.


setArguments

public void setArguments(org.omg.Dynamic.Parameter[] args)

setResult

public void setResult(org.omg.CORBA.Any result)

current

public org.omg.PortableInterceptor.Current current()

setCurrent

public void setCurrent(org.omg.PortableInterceptor.Current current)

setReplyStatus

public void setReplyStatus(short reply_status)

setForwardReference

public void setForwardReference(org.omg.CORBA.Object forward_reference)

arguments

public org.omg.Dynamic.Parameter[] arguments()
Specified by:
arguments in interface org.omg.PortableInterceptor.RequestInfoOperations

contexts

public java.lang.String[] contexts()
Specified by:
contexts in interface org.omg.PortableInterceptor.RequestInfoOperations

exceptions

public org.omg.CORBA.TypeCode[] exceptions()
Specified by:
exceptions in interface org.omg.PortableInterceptor.RequestInfoOperations

forward_reference

public org.omg.CORBA.Object forward_reference()
Specified by:
forward_reference in interface org.omg.PortableInterceptor.RequestInfoOperations

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

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

get_slot

public org.omg.CORBA.Any get_slot(int id)
                           throws org.omg.PortableInterceptor.InvalidSlot
Specified by:
get_slot in interface org.omg.PortableInterceptor.RequestInfoOperations
Throws:
org.omg.PortableInterceptor.InvalidSlot

operation

public java.lang.String operation()
Specified by:
operation in interface org.omg.PortableInterceptor.RequestInfoOperations

operation_context

public java.lang.String[] operation_context()
Specified by:
operation_context in interface org.omg.PortableInterceptor.RequestInfoOperations

reply_status

public short reply_status()
Specified by:
reply_status in interface org.omg.PortableInterceptor.RequestInfoOperations

request_id

public int request_id()
Specified by:
request_id in interface org.omg.PortableInterceptor.RequestInfoOperations

response_expected

public boolean response_expected()
Specified by:
response_expected in interface org.omg.PortableInterceptor.RequestInfoOperations

result

public org.omg.CORBA.Any result()
Specified by:
result in interface org.omg.PortableInterceptor.RequestInfoOperations

sync_scope

public short sync_scope()
Specified by:
sync_scope in interface org.omg.PortableInterceptor.RequestInfoOperations