org.objectweb.carol.rmi.jrmp.interceptor
Class JClientInterceptorHelper
public class JClientInterceptorHelper
Class JClientInterceptorHelper
is the CAROL JRMP Client
Interceptor Helper this class is used by the other pakage class to manage
client interception
Version:
- Guillaume Riviere (Guillaume.Riviere@inrialpes.fr)
static JClientRequestInfo | getClientRequestContextFromInput(ObjectInput in, int ctxValue, JClientRequestInfo jrc) - Get Context from Object Input
|
static void | receive_exception(ObjectInput in, JClientRequestInterceptor cis) - Receive exception interception
|
static void | receive_other(ObjectInput in, JClientRequestInterceptor cis)
|
static void | receive_reply(ObjectInput in, JClientRequestInterceptor cis) - Receive reply interception
|
static void | send_poll(ObjectOutput out, JClientRequestInterceptor cis, boolean localRef) - send client context in pool (see CORBA Specifications)
|
static void | send_request(ObjectOutput out, JClientRequestInterceptor cis, boolean localRef) - send client context with the request.
|
static void | setClientContextInOutput(ObjectOutput out, JClientRequestInfo ri, boolean locRef) - Set Context inObject Outut
|
getClientRequestContextFromInput
public static JClientRequestInfo getClientRequestContextFromInput(ObjectInput in,
int ctxValue,
JClientRequestInfo jrc)
throws ClassNotFoundException,
IOException
Get Context from Object Input
- jrc the client request info
receive_exception
public static void receive_exception(ObjectInput in,
JClientRequestInterceptor cis)
throws IOException
Receive exception interception
receive_reply
public static void receive_reply(ObjectInput in,
JClientRequestInterceptor cis)
throws IOException
Receive reply interception
send_poll
public static void send_poll(ObjectOutput out,
JClientRequestInterceptor cis,
boolean localRef)
throws IOException
send client context in pool (see CORBA Specifications)
send_request
public static void send_request(ObjectOutput out,
JClientRequestInterceptor cis,
boolean localRef)
throws IOException
send client context with the request. The sendingRequest method of the
PortableInterceptors is called prior to marshalling arguments and
contexts
setClientContextInOutput
public static void setClientContextInOutput(ObjectOutput out,
JClientRequestInfo ri,
boolean locRef)
throws IOException
Set Context inObject Outut