public class AgentSourceRequest extends MaestroRequest<MaestroAgentEventListener>
Constructor and Description |
---|
AgentSourceRequest() |
AgentSourceRequest(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 |
getBranch() |
MaestroCommand |
getMaestroCommand()
Gets the Maestro command for the note
|
MaestroNoteType |
getNoteType()
Gets the note type
|
String |
getSourceUrl() |
void |
notify(MaestroAgentEventListener visitor) |
protected org.msgpack.core.MessageBufferPacker |
pack() |
byte[] |
serialize()
Serialize the note
|
void |
setBranch(String branch) |
void |
setSourceUrl(String sourceUrl) |
String |
toString()
Converts the note to string for debugging purposes
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
hasNext, next
public AgentSourceRequest()
public AgentSourceRequest(org.msgpack.core.MessageUnpacker unpacker) throws IOException
IOException
public String getSourceUrl()
public void setSourceUrl(String sourceUrl)
public String getBranch()
public void setBranch(String branch)
public void notify(MaestroAgentEventListener visitor)
notify
in class MaestroEvent<MaestroAgentEventListener>
protected org.msgpack.core.MessageBufferPacker pack() throws IOException
IOException
public String toString()
MaestroNote
toString
in interface MaestroNote
toString
in class MaestroRequest<MaestroAgentEventListener>
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.