|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessageFactory
Creates Message and Receiver objects based on message code types.
| Method Summary | |
|---|---|
Message |
createMessage(byte code,
DataInput in)
Creates a Message of type code from the specified stream. |
Receiver |
createReceiver(byte code,
MessageServer server)
Creates a Receiver for handling a Message of type code. |
| Method Detail |
|---|
Message createMessage(byte code,
DataInput in)
throws IOException,
UnknownMessageException
code from the specified stream.
UnknownMessageException - if the message code type is not supported
IOException
Receiver createReceiver(byte code,
MessageServer server)
code.
If no standard Receiver should handle the message null is
returned. In this case, an application specific receiver will be used
if one is registered.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||