public class RemoteControlReader extends ExecutionDataReader
ExecutionDataReader with commands added for runtime remote control.in| Constructor | Description |
|---|---|
RemoteControlReader(java.io.InputStream input) |
Create a new read based on the given input stream.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected boolean |
readBlock(byte blockid) |
Reads a block of data identified by the given id.
|
void |
setRemoteCommandVisitor(IRemoteCommandVisitor visitor) |
Sets an listener for agent commands.
|
read, setExecutionDataVisitor, setSessionInfoVisitorpublic RemoteControlReader(java.io.InputStream input)
throws java.io.IOException
input - input stream to read commands fromjava.io.IOException - if the stream does not have a valid headerprotected boolean readBlock(byte blockid)
throws java.io.IOException
ExecutionDataReaderreadBlock in class ExecutionDataReaderblockid - block typetrue if there are more blocks to readjava.io.IOException - might be thrown by the underlying input streampublic void setRemoteCommandVisitor(IRemoteCommandVisitor visitor)
visitor - visitor to retrieve agent commandsCopyright © 2018. All rights reserved.