public class GetResponse extends MaestroResponse
| Constructor and Description |
|---|
GetResponse() |
GetResponse(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
|
MaestroNoteType |
getNoteType()
Gets the note type
|
GetOption |
getOption() |
String |
getValue() |
protected org.msgpack.core.MessageBufferPacker |
pack() |
byte[] |
serialize()
Serialize the note
|
void |
setOption(GetOption option) |
void |
setValue(String value) |
String |
toString()
Converts the note to string for debugging purposes
|
getId, getPeerInfo, setId, setPeerInfoclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithasNext, nextpublic GetResponse()
public GetResponse(org.msgpack.core.MessageUnpacker unpacker)
throws IOException
IOExceptionpublic GetOption getOption()
public void setOption(GetOption option)
public String getValue()
public void setValue(String value)
protected org.msgpack.core.MessageBufferPacker pack()
throws IOException
pack in class MaestroResponseIOExceptionpublic String toString()
MaestroNotetoString in interface MaestroNotetoString in class MaestroResponsepublic 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.