|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface cMsgDeliverMessageInterface
Classes that implement this interface provide a means for a subdomain handler object to talk to its client - providing the client with responses to its requests. It is assumed that a single object of this type talks to one specific client. Thus the deliverMessage and deliverMessageAndAcknowledge methods do not have an argument specifying the client. The implementing class should store and use this information aside from the use of this interface.
Method Summary | |
---|---|
void |
close()
Method to close all system resources that need closing. |
void |
deliverMessage(cMsgMessage msg,
int msgType)
Method to deliver a message from a domain server's subdomain handler to a client. |
boolean |
deliverMessageAndAcknowledge(cMsgMessage msg,
int msgType)
Method to deliver a message from a domain server's subdomain handler to a client and receive acknowledgment that the message was received. |
Method Detail |
---|
void close()
void deliverMessage(cMsgMessage msg, int msgType) throws cMsgException, java.io.IOException
msg
- message to sent to clientmsgType
- type of communication with the client
cMsgException
java.io.IOException
boolean deliverMessageAndAcknowledge(cMsgMessage msg, int msgType) throws cMsgException, java.io.IOException
msg
- message to sent to clientmsgType
- type of communication with the client
cMsgException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |