public class RemoteControlReader extends ExecutionDataReader
ExecutionDataReader with commands added for runtime remote control.in| Constructor and Description |
|---|
RemoteControlReader(InputStream input)
Create a new read based on the given input stream.
|
| Modifier and Type | Method and 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(InputStream input) throws IOException
input - input stream to read commands fromIOException - if the stream does not have a valid headerprotected boolean readBlock(byte blockid)
throws IOException
ExecutionDataReaderreadBlock in class ExecutionDataReaderblockid - block typetrue if there are more blocks to readIOException - might be thrown by the underlying input streampublic void setRemoteCommandVisitor(IRemoteCommandVisitor visitor)
visitor - visitor to retrieve agent commandsCopyright © 2009-2015 Mountainminds GmbH & Co. KG. All Rights Reserved.