org.objectweb.carol.rmi.jrmp.interceptor
Class JServerInterceptorHelper
public class JServerInterceptorHelper
Class JServerInterceptorHelper
is the CAROL JRMP Server
Interceptor Helper this class is used by the other pakage class to manage
server interception
Version:
- Guillaume Riviere (Guillaume.Riviere@inrialpes.fr)
getRequestServerContextFromInput
public static JServerRequestInfo getRequestServerContextFromInput(ObjectInput in,
int ctxValue,
JServerRequestInfo jsr)
throws ClassNotFoundException,
IOException
Get Context from Object Input
isLocal
public static boolean isLocal()
is Local Reference
- true if local reference
receive_request
public static void receive_request(ObjectInput in,
JServerRequestInterceptor sis)
throws IOException
Receive request
send_exception
public static void send_exception(ObjectOutput out,
JServerRequestInterceptor sis)
throws IOException
send exception with context
send_reply
public static void send_reply(ObjectOutput out,
JServerRequestInterceptor sis)
throws IOException
send reply with context
setLocal
public static void setLocal()
Set Local Reference
setServerContextInOutput
public static void setServerContextInOutput(ObjectOutput out,
JServerRequestInfo ri,
boolean locRef)
throws IOException
Set Context inObject Outut