org.objectweb.carol.rmi.jonathan.jeremie
Class JeremieCarolHandler
java.lang.Object
org.objectweb.carol.rmi.jonathan.jeremie.JeremieCarolHandler
- Service
public class JeremieCarolHandler
extends java.lang.Object
implements Service
Class CarolHandler
is the CAROL Handler for Jonathan server
interception
Version:
- Guillaume Riviere (Guillaume.Riviere@inrialpes.fr)
ServiceContext | getReplyContext(int id, Context k) - Returns a reply context.
|
ServiceContext | getRequestContext(int id, boolean r, byte[] key, Context k) - Returns a request context.
|
void | handleReplyContext(ServiceContext context, int id, Context k) - This method is called by the services handler to let the operations
related to the target service be performed on reply arrival.
|
void | handleRequestContext(ServiceContext context, int id, boolean r, byte[] key, Context k) - This method is called by the services handler to let the operations
related to the target service be performed on request arrival.
|
JeremieCarolHandler
public JeremieCarolHandler()
throws JonathanException
Builds a new Jonathan jeremie carol service handler instance.
getReplyContext
public ServiceContext getReplyContext(int id,
Context k)
Returns a reply context.
- always null
getRequestContext
public ServiceContext getRequestContext(int id,
boolean r,
byte[] key,
Context k)
Returns a request context.
- always null
handleReplyContext
public void handleReplyContext(ServiceContext context,
int id,
Context k)
This method is called by the services handler to let the operations
related to the target service be performed on reply arrival.
context
- the service context of the reply;
handleRequestContext
public void handleRequestContext(ServiceContext context,
int id,
boolean r,
byte[] key,
Context k)
This method is called by the services handler to let the operations
related to the target service be performed on request arrival.
context
- the service context of the request;