public class MessageError extends Packet
| Constructor and Description |
|---|
MessageError(java.lang.String to,
java.lang.String from,
java.io.Serializable value,
BamError error)
An empty message to a destination
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispatch(MessageStream handler,
MessageStream toSource)
SPI method to dispatch the packet to the proper handler
|
BamError |
getError()
Returns the message error
|
java.io.Serializable |
getValue()
Returns the message value
|
java.lang.String |
toString() |
dispatchError, getFrom, getTopublic MessageError(java.lang.String to,
java.lang.String from,
java.io.Serializable value,
BamError error)
to - the target addresspublic java.io.Serializable getValue()
public BamError getError()
public void dispatch(MessageStream handler, MessageStream toSource)