|
|||||||||||
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.JServerInterceptorHelper
Class JServerInterceptorHelper
is the CAROL JRMP Server
Interceptor Helper this class is used by the other pakage class to manage
server interception
Field Summary |
Fields inherited from class org.objectweb.carol.rmi.jrmp.interceptor.JInterceptorHelper |
ia, LOCAL_CTX, NO_CTX, REMOTE_CTX, spaceID |
Constructor Summary | |
JServerInterceptorHelper()
|
Method Summary | |
static JServerRequestInfo |
getRequestServerContextFromInput(java.io.ObjectInput in,
int ctxValue,
JServerRequestInfo jsr)
Get Context from Object Input |
static boolean |
isLocal()
is Local Reference |
static void |
receive_request(java.io.ObjectInput in,
JServerRequestInterceptor[] sis)
Receive request |
static void |
send_exception(java.io.ObjectOutput out,
JServerRequestInterceptor[] sis)
send exception with context |
static void |
send_other(java.io.ObjectOutput out,
JServerRequestInterceptor[] sis)
|
static void |
send_reply(java.io.ObjectOutput out,
JServerRequestInterceptor[] sis)
send reply with context |
static void |
setLocal()
Set Local Reference |
static void |
setServerContextInOutput(java.io.ObjectOutput out,
JServerRequestInfo 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 JServerInterceptorHelper()
Method Detail |
public static void receive_request(java.io.ObjectInput in, JServerRequestInterceptor[] sis) throws java.io.IOException
java.io.IOException
- if an exception occur with the ObjectOutputpublic static void send_reply(java.io.ObjectOutput out, JServerRequestInterceptor[] sis) throws java.io.IOException
java.io.IOException
- if an exception occur with the ObjectOutputpublic static void send_exception(java.io.ObjectOutput out, JServerRequestInterceptor[] sis) throws java.io.IOException
java.io.IOException
- if an exception occur with the ObjectOutputpublic static void send_other(java.io.ObjectOutput out, JServerRequestInterceptor[] sis) throws java.io.IOException
java.io.IOException
public static JServerRequestInfo getRequestServerContextFromInput(java.io.ObjectInput in, int ctxValue, JServerRequestInfo jsr) throws java.lang.ClassNotFoundException, java.io.IOException
java.lang.ClassNotFoundException
java.io.IOException
public static void setServerContextInOutput(java.io.ObjectOutput out, JServerRequestInfo ri, boolean locRef) throws java.io.IOException
java.io.IOException
public static void setLocal()
public static boolean isLocal()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |