|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A ServicesHandler
object is used to manage CORBA services.
Method Summary | |
org.omg.IOP.ServiceContext[] |
getReplyContexts(int request_id,
org.objectweb.jonathan.apis.kernel.Context message_context)
Returns a list of service contexts. |
org.omg.IOP.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(org.omg.IOP.ServiceContext[] contexts,
int request_id,
org.objectweb.jonathan.apis.kernel.Context message_context)
Lets the handler manage the provided contexts. |
void |
handleRequestContexts(org.omg.IOP.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 |
public org.omg.IOP.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.
public org.omg.IOP.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.
public void handleRequestContexts(org.omg.IOP.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.public void handleReplyContexts(org.omg.IOP.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.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |