public class DefaultClientInterceptorHandler extends Object implements ClientInterceptorHandler
Constructor and Description |
---|
DefaultClientInterceptorHandler(DefaultClientInterceptorHandler original,
ORB orb,
RequestOutputStream ros,
Object self,
Delegate delegate,
ParsedIOR piorOriginal,
ClientConnection connection)
Constructs an interceptor handler for the given parameters.
|
DefaultClientInterceptorHandler(ORB orb,
String operation,
boolean response_expected,
short sync_scope,
Object self,
Delegate delegate,
ParsedIOR piorOriginal)
Constructor to be used for calls involving local objects that have interceptors,
these calls will not have input or output streams, or requests
|
Modifier and Type | Method and Description |
---|---|
ClientRequestInfoImpl |
getInfo()
Where it is a local call there are not streams/requests so we need to get
data directly from the info.
|
void |
handle_location_forward(ReplyInputStream reply,
Object forward_reference) |
void |
handle_receive_exception(ApplicationException exception,
ReplyInputStream reply) |
void |
handle_receive_exception(SystemException exception) |
void |
handle_receive_exception(SystemException exception,
ReplyInputStream reply) |
void |
handle_receive_other(short reply_status) |
void |
handle_receive_reply(ReplyInputStream reply) |
void |
handle_send_request() |
public DefaultClientInterceptorHandler(DefaultClientInterceptorHandler original, ORB orb, RequestOutputStream ros, Object self, Delegate delegate, ParsedIOR piorOriginal, ClientConnection connection)
original
- a ClientInterceptorHandler
value which contains
the original info and hence the original forward_request. May be null.orb
- an org.jacorb.orb.ORB
valueros
- an org.jacorb.orb.giop.RequestOutputStream
valueself
- an org.omg.CORBA.Object
valuedelegate
- an org.jacorb.orb.Delegate
valuepiorOriginal
- an org.jacorb.orb.ParsedIOR
valueconnection
- an org.jacorb.orb.giop.ClientConnection
valuepublic DefaultClientInterceptorHandler(ORB orb, String operation, boolean response_expected, short sync_scope, Object self, Delegate delegate, ParsedIOR piorOriginal)
public void handle_send_request() throws RemarshalException, ForwardRequest
handle_send_request
in interface ClientInterceptorHandler
RemarshalException
ForwardRequest
public void handle_location_forward(ReplyInputStream reply, Object forward_reference) throws RemarshalException, ForwardRequest
handle_location_forward
in interface ClientInterceptorHandler
RemarshalException
ForwardRequest
public void handle_receive_reply(ReplyInputStream reply) throws RemarshalException, ForwardRequest
handle_receive_reply
in interface ClientInterceptorHandler
RemarshalException
ForwardRequest
public void handle_receive_other(short reply_status) throws RemarshalException, ForwardRequest
handle_receive_other
in interface ClientInterceptorHandler
RemarshalException
ForwardRequest
public void handle_receive_exception(SystemException exception) throws RemarshalException, ForwardRequest
handle_receive_exception
in interface ClientInterceptorHandler
RemarshalException
ForwardRequest
public void handle_receive_exception(SystemException exception, ReplyInputStream reply) throws RemarshalException, ForwardRequest
handle_receive_exception
in interface ClientInterceptorHandler
RemarshalException
ForwardRequest
public void handle_receive_exception(ApplicationException exception, ReplyInputStream reply) throws RemarshalException, ForwardRequest
handle_receive_exception
in interface ClientInterceptorHandler
RemarshalException
ForwardRequest
public ClientRequestInfoImpl getInfo()
Copyright © 2017 JacORB. All rights reserved.