|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServicesHandler
A ServicesHandler
object is used to manage CORBA services.
Method Summary | |
---|---|
ServiceContext[] |
getReplyContexts(int request_id,
org.objectweb.jonathan.apis.kernel.Context message_context)
Returns a list of service contexts. |
ServiceContext[] |
getRequestContexts(int request_id,
boolean response_expected,
byte[] object_key,
org.objectweb.jonathan.apis.kernel.Context message_context)
Returns a list of service contexts. |
void |
handleReplyContexts(ServiceContext[] contexts,
int request_id,
org.objectweb.jonathan.apis.kernel.Context message_context)
Lets the handler manage the provided contexts. |
void |
handleRequestContexts(ServiceContext[] contexts,
int request_id,
boolean response_expected,
byte[] object_key,
org.objectweb.jonathan.apis.kernel.Context message_context)
Lets the handler manage the provided contexts. |
Method Detail |
---|
ServiceContext[] getRequestContexts(int request_id, boolean response_expected, byte[] object_key, org.objectweb.jonathan.apis.kernel.Context message_context)
This method is called by an invocation protocol to get service contexts before sending a request.
request_id
- the request id;response_expected
- indicates if a response is expected;object_key
- the target object key.message_context
- the context of the request marshaller.
ServiceContext[] getReplyContexts(int request_id, org.objectweb.jonathan.apis.kernel.Context message_context)
This method is called by an invocation protocol to get service contexts before sending a reply.
request_id
- the request id.message_context
- the context of the reply marshaller.
void handleRequestContexts(ServiceContext[] contexts, int request_id, boolean response_expected, byte[] object_key, org.objectweb.jonathan.apis.kernel.Context message_context)
This method is called by an invocation protocol on reception of a request.
contexts
- the list of contexts contained in the request;request_id
- the request id;response_expected
- indicates whether a response is expected;object_key
- the target object key.message_context
- the context of the request unmarshaller.void handleReplyContexts(ServiceContext[] contexts, int request_id, org.objectweb.jonathan.apis.kernel.Context message_context)
This method is called by an invocation protocol on reception of a reply.
contexts
- the list of contexts contained in the reply;request_id
- the request id;message_context
- the context of the reply marshaller.message_context
- the context of the reply unmarshaller.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |