Package net.sf.eBus.client
Class EMulticastConnection.MessageReader
- java.lang.Object
-
- net.sf.eBus.client.EMulticastConnection.MessageReader
-
- Enclosing class:
- EMulticastConnection
protected static final class EMulticastConnection.MessageReader extends java.lang.ObjectThis class is responsible for decoding the eBus header and message from anAsyncMulticastSocket's underlying inbound buffer.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMessageReader(int keyId, java.lang.String subject, MessageType mt)Creates a new multicast message reader for the given message key identifier, notification subject, and message data type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intkeyId()Returns the message key identifier.java.lang.Class<?>messageClass()java.lang.Stringsubject()Returns message key subject.
-
-
-
Constructor Detail
-
MessageReader
protected MessageReader(int keyId, java.lang.String subject, MessageType mt)Creates a new multicast message reader for the given message key identifier, notification subject, and message data type.- Parameters:
keyId- associated message key identifier.subject- associated notification subject.mt- message data type containing decoder.
-
-