RemoteControlReaderpublic class ExecutionDataReader
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
protected CompactDataInput |
in |
Underlying data input
|
| Constructor | Description |
|---|---|
ExecutionDataReader(java.io.InputStream input) |
Creates a new reader based on the given input stream input.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
read() |
Reads all data and reports it to the corresponding visitors.
|
protected boolean |
readBlock(byte blocktype) |
Reads a block of data identified by the given id.
|
void |
setExecutionDataVisitor(IExecutionDataVisitor visitor) |
Sets an listener for execution data.
|
void |
setSessionInfoVisitor(ISessionInfoVisitor visitor) |
Sets an listener for session information.
|
protected final CompactDataInput in
public ExecutionDataReader(java.io.InputStream input)
input - input stream to read execution data frompublic void setSessionInfoVisitor(ISessionInfoVisitor visitor)
visitor - visitor to retrieve session info eventspublic void setExecutionDataVisitor(IExecutionDataVisitor visitor)
visitor - visitor to retrieve execution data eventspublic boolean read()
throws java.io.IOException,
IncompatibleExecDataVersionException
true if additional data can be expected after a
command has been executed. false if the end of the
stream has been reached.java.io.IOException - might be thrown by the underlying input streamIncompatibleExecDataVersionException - incompatible data version from different JaCoCo releaseprotected boolean readBlock(byte blocktype)
throws java.io.IOException
blocktype - block typetrue if there are more blocks to readjava.io.IOException - might be thrown by the underlying input streamCopyright © 2018. All rights reserved.