org.objectweb.david.libs.services.unknown_exception
Class UnknownExceptionService
java.lang.Object
|
+--org.objectweb.david.libs.services.unknown_exception.UnknownExceptionService
- All Implemented Interfaces:
- Service
- public class UnknownExceptionService
- extends Object
- implements Service
The UnknownException service is a standard service letting information
about unexpected exceptions occurring in servers be propagated back to
clients.
|
Method Summary |
org.omg.IOP.ServiceContext |
getReplyContext(int request_id,
Context ignored)
Returns a reply context. |
org.omg.IOP.ServiceContext |
getRequestContext(int request_id,
boolean response_expected,
byte[] object_key,
Context ignored)
Returns a null request context. |
void |
handleReplyContext(org.omg.IOP.ServiceContext context,
int request_id,
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,
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 |
getRequestContext
public org.omg.IOP.ServiceContext getRequestContext(int request_id,
boolean response_expected,
byte[] object_key,
Context ignored)
- Returns a null request context.
- Specified by:
getRequestContext in interface Service
- Parameters:
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.- Returns:
- always null.
getReplyContext
public org.omg.IOP.ServiceContext getReplyContext(int request_id,
Context ignored)
- Returns a reply context.
- Specified by:
getReplyContext in interface Service
- Parameters:
request_id - the corresponding request id (unused);ignored - unused.- Returns:
- a service context.
handleRequestContext
public void handleRequestContext(org.omg.IOP.ServiceContext context,
int request_id,
boolean response_expected,
byte[] object_key,
Context ignored)
- This method is called by the services handler to let the operations
related to the target service be performed on request arrival.
- Specified by:
handleRequestContext in interface Service
- Parameters:
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.
handleReplyContext
public void handleReplyContext(org.omg.IOP.ServiceContext context,
int request_id,
Context ignored)
- This method is called by the services handler to let the operations
related to the target service be performed on reply arrival.
- Specified by:
handleReplyContext in interface Service
- Parameters:
context - the service context of the reply;request_id - the corresponding request identifier;ignored - unused.