org.jacorb.orb.portableInterceptor

Class ServerRequestInfoImpl

public class ServerRequestInfoImpl extends RequestInfoImpl implements ServerRequestInfo

This class represents the type of info object that will be passed to the ServerRequestInterceptors.
See PI Spec p.5-50ff

Version: $Id: ServerRequestInfoImpl.java,v 1.18 2006/07/14 12:02:41 nick.cross Exp $

Author: Nicolas Noffke

Field Summary
ServerRequestrequest
Anysending_exception
Constructor Summary
ServerRequestInfoImpl(ORB orb, ServerRequest request, Servant servant)
Method Summary
byte[]adapter_id()
voidadd_reply_service_context(ServiceContext service_context, boolean replace)
Parameter[]arguments()
TypeCode[]exceptions()
Objectforward_reference()
EnumerationgetReplyServiceContexts()
ServiceContextget_reply_service_context(int id)
Policyget_server_policy(int type)
WARNING: This method relies on the DomainService to be available.
byte[]object_id()
Stringoperation()
shortreply_status()
intrequest_id()
booleanresponse_expected()
Anyresult()
Anysending_exception()
voidsetServant(Servant servant)
The servant is sometimes not available on calling receive_request_service_contexts (e.g. in case of ServantLocators or ServantActivators).
voidset_slot(int id, Any data)
shortsync_scope()
Objecttarget()
returns a reference to the calls target.
booleantarget_is_a(String id)
Stringtarget_most_derived_interface()
voidupdate()
Set the sending_exception attribute.

Field Detail

request

public final ServerRequest request

sending_exception

public Any sending_exception

Constructor Detail

ServerRequestInfoImpl

public ServerRequestInfoImpl(ORB orb, ServerRequest request, Servant servant)

Method Detail

adapter_id

public byte[] adapter_id()

add_reply_service_context

public void add_reply_service_context(ServiceContext service_context, boolean replace)

arguments

public Parameter[] arguments()

exceptions

public TypeCode[] exceptions()

forward_reference

public Object forward_reference()

getReplyServiceContexts

public Enumeration getReplyServiceContexts()

get_reply_service_context

public ServiceContext get_reply_service_context(int id)

get_server_policy

public Policy get_server_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.

object_id

public byte[] object_id()

operation

public String operation()

reply_status

public short reply_status()

request_id

public int request_id()

response_expected

public boolean response_expected()

result

public Any result()

sending_exception

public Any sending_exception()

setServant

public final void setServant(Servant servant)
The servant is sometimes not available on calling receive_request_service_contexts (e.g. in case of ServantLocators or ServantActivators).

set_slot

public void set_slot(int id, Any data)

sync_scope

public short sync_scope()

target

public Object target()
returns a reference to the calls target.

target_is_a

public boolean target_is_a(String id)

target_most_derived_interface

public String target_most_derived_interface()

update

public void update()
Set the sending_exception attribute.