public interface MaestroNote
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
|
default boolean |
hasNext()
Whether the note contains content that cannot be sent
in a single exchange.
|
default void |
next()
Moves to the next subsequent note
|
byte[] |
serialize()
Serialize the note
|
String |
toString()
Converts the note to string for debugging purposes
|
MaestroNoteType getNoteType()
MaestroCommand getMaestroCommand()
byte[] serialize() throws IOException
IOException
- if unable to serialize the noteString toString()
MessageCorrelation correlate()
void correlate(MessageCorrelation correlation)
void correlate(MaestroNote note)
boolean correlatesTo(MessageCorrelation correlation)
boolean correlatesTo(MaestroNote note)
default void next()
default boolean hasNext()
This documentation was released into the public domain.