|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jacoco.core.data.ExecutionDataWriter
org.jacoco.core.runtime.RemoteControlWriter
public class RemoteControlWriter
ExecutionDataWriter with commands added for runtime remote control.
| Field Summary | |
|---|---|
static byte |
BLOCK_CMDDUMP
Block identifier for dump command |
static byte |
BLOCK_CMDOK
Block identifier to confirm successful command execution. |
| Fields inherited from class org.jacoco.core.data.ExecutionDataWriter |
|---|
BLOCK_EXECUTIONDATA, BLOCK_HEADER, BLOCK_SESSIONINFO, FORMAT_VERSION, MAGIC_NUMBER, out |
| Constructor Summary | |
|---|---|
RemoteControlWriter(OutputStream output)
Creates a new writer based on the given output stream. |
|
| Method Summary | |
|---|---|
void |
sendCmdOk()
Sends a confirmation that a commands has been successfully executed and the response is completed. |
void |
visitDumpCommand(boolean dump,
boolean reset)
Requests a execution data dump with an optional reset. |
| Methods inherited from class org.jacoco.core.data.ExecutionDataWriter |
|---|
flush, getFileHeader, visitClassExecution, visitSessionInfo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final byte BLOCK_CMDOK
public static final byte BLOCK_CMDDUMP
| Constructor Detail |
|---|
public RemoteControlWriter(OutputStream output)
throws IOException
output - stream to write commands to
IOException - if the header can't be written| Method Detail |
|---|
public void sendCmdOk()
throws IOException
IOException - in case of problems with the remote connection
public void visitDumpCommand(boolean dump,
boolean reset)
throws IOException
IRemoteCommandVisitor
visitDumpCommand in interface IRemoteCommandVisitordump - true if the dump should be executedreset - true if the reset should be executed
IOException - in case of problems with the remote connection
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||