public class JeremieCarolHandler
extends java.lang.Object
implements org.objectweb.jeremie.services.handler.api.Service
CarolHandler
is the CAROL Handler for Jonathan server
interceptionConstructor and Description |
---|
JeremieCarolHandler()
Builds a new Jonathan jeremie carol service handler instance.
|
Modifier and Type | Method and Description |
---|---|
org.omg.IOP.ServiceContext |
getReplyContext(int id,
org.objectweb.jonathan.apis.kernel.Context k)
Returns a reply context.
|
org.omg.IOP.ServiceContext |
getRequestContext(int id,
boolean r,
byte[] key,
org.objectweb.jonathan.apis.kernel.Context k)
Returns a request context.
|
void |
handleReplyContext(org.omg.IOP.ServiceContext context,
int id,
org.objectweb.jonathan.apis.kernel.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(org.omg.IOP.ServiceContext context,
int id,
boolean r,
byte[] key,
org.objectweb.jonathan.apis.kernel.Context k)
This method is called by the services handler to let the operations
related to the target service be performed on request arrival.
|
public JeremieCarolHandler() throws org.objectweb.jonathan.apis.kernel.JonathanException
org.objectweb.jonathan.apis.kernel.JonathanException
- if something goes wrong.public org.omg.IOP.ServiceContext getRequestContext(int id, boolean r, byte[] key, org.objectweb.jonathan.apis.kernel.Context k)
getRequestContext
in interface org.objectweb.jeremie.services.handler.api.Service
public org.omg.IOP.ServiceContext getReplyContext(int id, org.objectweb.jonathan.apis.kernel.Context k)
getReplyContext
in interface org.objectweb.jeremie.services.handler.api.Service
public void handleRequestContext(org.omg.IOP.ServiceContext context, int id, boolean r, byte[] key, org.objectweb.jonathan.apis.kernel.Context k)
handleRequestContext
in interface org.objectweb.jeremie.services.handler.api.Service
context
- the service context of the request;public void handleReplyContext(org.omg.IOP.ServiceContext context, int id, org.objectweb.jonathan.apis.kernel.Context k)
handleReplyContext
in interface org.objectweb.jeremie.services.handler.api.Service
context
- the service context of the reply;