public class DrainCompleteNotification extends MaestroNotification
Constructor and Description |
---|
DrainCompleteNotification() |
DrainCompleteNotification(org.msgpack.core.MessageUnpacker unpacker) |
Modifier and Type | Method and Description |
---|---|
MessageCorrelation |
correlate() |
void |
correlate(MaestroNote note) |
void |
correlate(MessageCorrelation correlation) |
boolean |
correlatesTo(MaestroNote note) |
boolean |
correlatesTo(MessageCorrelation correlation) |
MaestroCommand |
getMaestroCommand()
Gets the Maestro command for the note
|
String |
getMessage() |
MaestroNoteType |
getNoteType()
Gets the note type
|
boolean |
isSuccessful() |
void |
notify(MaestroEventListener visitor) |
protected org.msgpack.core.MessageBufferPacker |
pack() |
byte[] |
serialize()
Serialize the note
|
void |
setMessage(String message) |
void |
setSuccessful(boolean successful) |
String |
toString()
Converts the note to string for debugging purposes
|
getId, getName, setId, setName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
hasNext, next
public DrainCompleteNotification()
public DrainCompleteNotification(org.msgpack.core.MessageUnpacker unpacker) throws IOException
IOException
public boolean isSuccessful()
public void setSuccessful(boolean successful)
public String getMessage()
public void setMessage(String message)
public void notify(MaestroEventListener visitor)
notify
in class MaestroEvent<MaestroEventListener>
protected org.msgpack.core.MessageBufferPacker pack() throws IOException
pack
in class MaestroNotification
IOException
public String toString()
MaestroNote
toString
in interface MaestroNote
toString
in class MaestroNotification
public MaestroNoteType getNoteType()
MaestroNote
getNoteType
in interface MaestroNote
public MaestroCommand getMaestroCommand()
MaestroNote
getMaestroCommand
in interface MaestroNote
public MessageCorrelation correlate()
correlate
in interface MaestroNote
public void correlate(MessageCorrelation correlation)
correlate
in interface MaestroNote
public void correlate(MaestroNote note)
correlate
in interface MaestroNote
public boolean correlatesTo(MessageCorrelation correlation)
correlatesTo
in interface MaestroNote
public boolean correlatesTo(MaestroNote note)
correlatesTo
in interface MaestroNote
public final byte[] serialize() throws IOException
MaestroNote
serialize
in interface MaestroNote
IOException
- if unable to serialize the noteThis documentation was released into the public domain.