org.apache.yoko.orb.PortableInterceptor
Class ServerRequestInfo_impl

java.lang.Object
  extended by org.omg.CORBA.LocalObject
      extended by org.apache.yoko.orb.PortableInterceptor.RequestInfo_impl
          extended by org.apache.yoko.orb.PortableInterceptor.ServerRequestInfo_impl
All Implemented Interfaces:
Serializable, ServerRequestInfoExt, Object, IDLEntity, RequestInfo, RequestInfoOperations, ServerRequestInfo, ServerRequestInfoOperations

public final class ServerRequestInfo_impl
extends RequestInfo_impl
implements ServerRequestInfoExt

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.yoko.orb.PortableInterceptor.RequestInfo_impl
argStrategy_, current_, forwardReference_, id_, NO_REPLY, NO_REPLY_SC, op_, orb_, orbInstance_, policies_, popCurrent_, receivedException_, receivedId_, replySCL_, requestSCL_, responseExpected_, slots_, status_
 
Constructor Summary
ServerRequestInfo_impl(ORB orb, int id, String op, boolean responseExpected, Policy[] policies, byte[] adapterId, byte[] objectId, ObjectReferenceTemplate adapterTemplate, Vector request, Vector reply, ORBInstance orbInstance, Current_impl current, TransportInfo transportInfo)
           
 
Method Summary
 void _OB_arguments(NVList args)
           
 void _OB_contextSwitch()
           
 void _OB_parameterDesc(ParameterDesc[] argDesc, ParameterDesc retDesc, TypeCode[] exceptionTC)
           
 void _OB_request()
           
 void _OB_requestServiceContext(Vector interceptors)
           
 void _OB_result(Any value)
           
 void _OB_sendException()
           
 void _OB_sendOther()
           
 void _OB_sendReply()
           
 void _OB_servant(Servant servant, POA poa)
           
 byte[] adapter_id()
           
 String[] adapter_name()
           
 void add_reply_service_context(ServiceContext sc, boolean addReplace)
           
 Policy get_server_policy(int type)
           
 TransportInfo getTransportInfo()
          Retrieve the TransportInfo object associated with this server request.
 byte[] object_id()
           
 String orb_id()
           
 Any sending_exception()
           
 String server_id()
           
 void set_slot(int id, Any data)
           
 boolean target_is_a(String id)
           
 String target_most_derived_interface()
           
 
Methods inherited from class org.apache.yoko.orb.PortableInterceptor.RequestInfo_impl
_OB_setForwardReference, _OB_setReceivedException, _OB_setReplyStatus, addServiceContext, arguments, contexts, exceptions, forward_reference, get_reply_service_context, get_request_service_context, get_slot, getServiceContext, operation_context, operation, reply_status, request_id, response_expected, result, 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.PortableInterceptor.RequestInfoOperations
arguments, contexts, exceptions, forward_reference, get_reply_service_context, get_request_service_context, get_slot, operation_context, operation, reply_status, request_id, response_expected, result, sync_scope
 
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
 

Constructor Detail

ServerRequestInfo_impl

public ServerRequestInfo_impl(ORB orb,
                              int id,
                              String op,
                              boolean responseExpected,
                              Policy[] policies,
                              byte[] adapterId,
                              byte[] objectId,
                              ObjectReferenceTemplate adapterTemplate,
                              Vector request,
                              Vector reply,
                              ORBInstance orbInstance,
                              Current_impl current,
                              TransportInfo transportInfo)
Method Detail

sending_exception

public Any sending_exception()
Specified by:
sending_exception in interface ServerRequestInfoOperations

object_id

public byte[] object_id()
Specified by:
object_id in interface ServerRequestInfoOperations

adapter_id

public byte[] adapter_id()
Specified by:
adapter_id in interface ServerRequestInfoOperations

target_most_derived_interface

public String target_most_derived_interface()
Specified by:
target_most_derived_interface in interface ServerRequestInfoOperations

server_id

public String server_id()
Specified by:
server_id in interface ServerRequestInfoOperations

orb_id

public String orb_id()
Specified by:
orb_id in interface ServerRequestInfoOperations

adapter_name

public String[] adapter_name()
Specified by:
adapter_name in interface ServerRequestInfoOperations

get_server_policy

public Policy get_server_policy(int type)
Specified by:
get_server_policy in interface ServerRequestInfoOperations

set_slot

public void set_slot(int id,
                     Any data)
              throws InvalidSlot
Specified by:
set_slot in interface ServerRequestInfoOperations
Throws:
InvalidSlot

target_is_a

public boolean target_is_a(String id)
Specified by:
target_is_a in interface ServerRequestInfoOperations

add_reply_service_context

public void add_reply_service_context(ServiceContext sc,
                                      boolean addReplace)
Specified by:
add_reply_service_context in interface ServerRequestInfoOperations

_OB_requestServiceContext

public void _OB_requestServiceContext(Vector interceptors)
                               throws LocationForward
Throws:
LocationForward

_OB_request

public void _OB_request()
                 throws LocationForward
Throws:
LocationForward

_OB_sendReply

public void _OB_sendReply()

_OB_sendException

public void _OB_sendException()
                       throws LocationForward
Throws:
LocationForward

_OB_sendOther

public void _OB_sendOther()
                   throws LocationForward
Throws:
LocationForward

_OB_servant

public void _OB_servant(Servant servant,
                        POA poa)

_OB_contextSwitch

public void _OB_contextSwitch()

_OB_parameterDesc

public void _OB_parameterDesc(ParameterDesc[] argDesc,
                              ParameterDesc retDesc,
                              TypeCode[] exceptionTC)

_OB_arguments

public void _OB_arguments(NVList args)

_OB_result

public void _OB_result(Any value)

getTransportInfo

public TransportInfo getTransportInfo()
Retrieve the TransportInfo object associated with this server request. The TransportInfo object contains information about the connection used for the request.

Specified by:
getTransportInfo in interface ServerRequestInfoExt
Returns:
The TransportInfo object created by the OCI layer.


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.