org.jacorb.orb.portableInterceptor
Class RequestInfoImpl

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

public abstract class RequestInfoImpl
extends LocalObject
implements 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.9 2004/06/09 05:32:02 andre.spiegel Exp $
Author:
Nicolas Noffke
See Also:
Serialized Form

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

Field Detail

request_id

protected int request_id

operation

protected java.lang.String operation

arguments

protected Parameter[] arguments

exceptions

protected TypeCode[] exceptions

result

protected Any result

response_expected

protected boolean response_expected

forward_reference

protected Object forward_reference

reply_status

protected short reply_status

current

protected Current current

request_ctx

protected java.util.Hashtable request_ctx

reply_ctx

protected java.util.Hashtable reply_ctx

caller_op

protected short caller_op
Constructor Detail

RequestInfoImpl

public RequestInfoImpl()
Method Detail

setRequestServiceContexts

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


setReplyServiceContexts

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


setArguments

public void setArguments(Parameter[] args)

setResult

public void setResult(Any result)

current

public Current current()

setCurrent

public void setCurrent(Current current)

setReplyStatus

public void setReplyStatus(short reply_status)

setForwardReference

public void setForwardReference(Object forward_reference)

arguments

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

contexts

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

exceptions

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

forward_reference

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

get_reply_service_context

public ServiceContext get_reply_service_context(int id)
Specified by:
get_reply_service_context in interface RequestInfoOperations

get_request_service_context

public ServiceContext get_request_service_context(int id)
Specified by:
get_request_service_context in interface RequestInfoOperations

get_slot

public Any get_slot(int id)
             throws InvalidSlot
Specified by:
get_slot in interface RequestInfoOperations
Throws:
InvalidSlot

operation

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

operation_context

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

reply_status

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

request_id

public int request_id()
Specified by:
request_id in interface RequestInfoOperations

response_expected

public boolean response_expected()
Specified by:
response_expected in interface RequestInfoOperations

result

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

sync_scope

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