|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.david.libs.services.unknown_exception.UnknownExceptionService
The UnknownException service is a standard service letting information about unexpected exceptions occurring in servers be propagated back to clients.
Constructor Summary | |
UnknownExceptionService(CDRMarshallerFactory stream_factory,
Scheduler scheduler)
|
Method Summary | |
org.omg.IOP.ServiceContext |
getReplyContext(int request_id,
org.objectweb.jonathan.apis.kernel.Context ignored)
Returns a reply context. |
org.omg.IOP.ServiceContext |
getRequestContext(int request_id,
boolean response_expected,
byte[] object_key,
org.objectweb.jonathan.apis.kernel.Context ignored)
Returns a null request context. |
void |
handleReplyContext(org.omg.IOP.ServiceContext context,
int request_id,
org.objectweb.jonathan.apis.kernel.Context ignored)
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 request_id,
boolean response_expected,
byte[] object_key,
org.objectweb.jonathan.apis.kernel.Context ignored)
This method is called by the services handler to let the operations related to the target service be performed on request arrival. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UnknownExceptionService(CDRMarshallerFactory stream_factory, Scheduler scheduler)
Method Detail |
public org.omg.IOP.ServiceContext getRequestContext(int request_id, boolean response_expected, byte[] object_key, org.objectweb.jonathan.apis.kernel.Context ignored)
getRequestContext
in interface Service
request_id
- the request identifier (ignored);response_expected
- indicates whether a response is expected or not
(ignored);object_key
- the request target object key (ignored);ignored
- unused.
public org.omg.IOP.ServiceContext getReplyContext(int request_id, org.objectweb.jonathan.apis.kernel.Context ignored)
getReplyContext
in interface Service
request_id
- the corresponding request id (unused);ignored
- unused.
public void handleRequestContext(org.omg.IOP.ServiceContext context, int request_id, boolean response_expected, byte[] object_key, org.objectweb.jonathan.apis.kernel.Context ignored)
handleRequestContext
in interface Service
context
- the service context of the request;request_id
- the request identifier;response_expected
- indicates whether a response is expected or not;object_key
- the request target object key;ignored
- unused.public void handleReplyContext(org.omg.IOP.ServiceContext context, int request_id, org.objectweb.jonathan.apis.kernel.Context ignored)
handleReplyContext
in interface Service
context
- the service context of the reply;request_id
- the corresponding request identifier;ignored
- unused.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |