|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.carol.rmi.jrmp.interceptor.JInterceptorHelper
org.objectweb.carol.rmi.jrmp.interceptor.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
Field Summary |
---|
Fields inherited from class org.objectweb.carol.rmi.jrmp.interceptor.JInterceptorHelper |
---|
ia, LOCAL_CTX, NO_CTX, REMOTE_CTX, spaceID |
Constructor Summary | |
---|---|
JClientInterceptorHelper()
|
Method Summary | |
---|---|
static JClientRequestInfo |
getClientRequestContextFromInput(java.io.ObjectInput in,
int ctxValue,
JClientRequestInfo jrc)
Get Context from Object Input |
static void |
receive_exception(java.io.ObjectInput in,
JClientRequestInterceptor[] cis)
Receive exception interception |
static void |
receive_other(java.io.ObjectInput in,
JClientRequestInterceptor[] cis)
|
static void |
receive_reply(java.io.ObjectInput in,
JClientRequestInterceptor[] cis)
Receive reply interception |
static void |
send_poll(java.io.ObjectOutput out,
JClientRequestInterceptor[] cis,
boolean localRef)
send client context in pool (see CORBA Specifications) |
static void |
send_request(java.io.ObjectOutput out,
JClientRequestInterceptor[] cis,
boolean localRef)
send client context with the request. |
static void |
setClientContextInOutput(java.io.ObjectOutput out,
JClientRequestInfo ri,
boolean locRef)
Set Context inObject Outut |
Methods inherited from class org.objectweb.carol.rmi.jrmp.interceptor.JInterceptorHelper |
---|
getInetAddress, getSpaceID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JClientInterceptorHelper()
Method Detail |
---|
public static void send_request(java.io.ObjectOutput out, JClientRequestInterceptor[] cis, boolean localRef) throws java.io.IOException
ObjectOutput
- outClientRequestInterceptor
- All interceptor for this context
java.io.IOException
- if an exception occur with the ObjectOutputpublic static void send_poll(java.io.ObjectOutput out, JClientRequestInterceptor[] cis, boolean localRef) throws java.io.IOException
ObjectOutput
- outJClientRequestInterceptor
- All interceptor for this context
java.io.IOException
- if an exception occur with the ObjectOutputpublic static void receive_reply(java.io.ObjectInput in, JClientRequestInterceptor[] cis) throws java.io.IOException
ObjectInput
- inClientRequestInterceptor
- All interceptor for this context
java.io.IOException
- if an exception occur with the ObjectOutputpublic static void receive_exception(java.io.ObjectInput in, JClientRequestInterceptor[] cis) throws java.io.IOException
ObjectInput
- inClientRequestInterceptor
- All interceptor for this context
java.io.IOException
- if an exception occur with the ObjectOutputpublic static void receive_other(java.io.ObjectInput in, JClientRequestInterceptor[] cis) throws java.io.IOException
java.io.IOException
public static JClientRequestInfo getClientRequestContextFromInput(java.io.ObjectInput in, int ctxValue, JClientRequestInfo jrc) throws java.lang.ClassNotFoundException, java.io.IOException
ObjectInput
- in the object input streamint
- the context valueboolean
- do not build Request Info
java.lang.ClassNotFoundException
java.io.IOException
public static void setClientContextInOutput(java.io.ObjectOutput out, JClientRequestInfo ri, boolean locRef) throws java.io.IOException
ObjectOutput
- in the object OutPutStreamint
- the context valueboolean
- do not build Request Info
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |