public class MaestroResponse extends Object
| Constructor and Description |
|---|
MaestroResponse(MaestroCommand maestroCommand) |
MaestroResponse(MaestroCommand maestroCommand,
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) |
String |
getId() |
MaestroCommand |
getMaestroCommand()
Gets the Maestro command for the note
|
MaestroNoteType |
getNoteType()
Gets the note type
|
PeerInfo |
getPeerInfo() |
protected org.msgpack.core.MessageBufferPacker |
pack() |
byte[] |
serialize()
Serialize the note
|
void |
setId(String id) |
void |
setPeerInfo(PeerInfo peerInfo) |
String |
toString()
Converts the note to string for debugging purposes
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithasNext, nextpublic MaestroResponse(MaestroCommand maestroCommand)
public MaestroResponse(MaestroCommand maestroCommand, org.msgpack.core.MessageUnpacker unpacker) throws IOException
IOExceptionpublic String getId()
public void setId(String id)
public PeerInfo getPeerInfo()
public void setPeerInfo(PeerInfo peerInfo)
protected org.msgpack.core.MessageBufferPacker pack()
throws IOException
IOExceptionpublic String toString()
MaestroNotetoString in interface MaestroNotepublic MaestroNoteType getNoteType()
MaestroNotegetNoteType in interface MaestroNotepublic MaestroCommand getMaestroCommand()
MaestroNotegetMaestroCommand in interface MaestroNotepublic MessageCorrelation correlate()
correlate in interface MaestroNotepublic void correlate(MessageCorrelation correlation)
correlate in interface MaestroNotepublic void correlate(MaestroNote note)
correlate in interface MaestroNotepublic boolean correlatesTo(MessageCorrelation correlation)
correlatesTo in interface MaestroNotepublic boolean correlatesTo(MaestroNote note)
correlatesTo in interface MaestroNotepublic final byte[] serialize()
throws IOException
MaestroNoteserialize in interface MaestroNoteIOException - if unable to serialize the noteThis documentation was released into the public domain.