public class RoleAssign extends MaestroRequest<MaestroEventListener>
| Constructor and Description |
|---|
RoleAssign(org.msgpack.core.MessageUnpacker unpacker) |
RoleAssign(Role role) |
| 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
|
Role |
getRole() |
void |
notify(MaestroEventListener visitor) |
protected org.msgpack.core.MessageBufferPacker |
pack() |
byte[] |
serialize()
Serialize the note
|
String |
toString()
Converts the note to string for debugging purposes
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithasNext, nextpublic RoleAssign(Role role)
public RoleAssign(org.msgpack.core.MessageUnpacker unpacker)
throws IOException
IOExceptionpublic Role getRole()
public void notify(MaestroEventListener visitor)
notify in class MaestroEvent<MaestroEventListener>protected org.msgpack.core.MessageBufferPacker pack()
throws IOException
IOExceptionpublic String toString()
MaestroNotetoString in interface MaestroNotetoString in class MaestroRequest<MaestroEventListener>public 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.