public class CajoTcpRecorderListener extends Object implements RecorderListener
CajoTcpRecorderService| Constructor and Description |
|---|
CajoTcpRecorderListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
allRecordersSliceEnd(String type,
String method,
String runtimeTestName,
Integer slice,
Integer i,
ErrorInfo ei)
A wrapper method for the same method on the Clover class to allow for extra logging.
|
void |
allRecordersSliceStart(String type,
Integer slice,
Long startTime)
A wrapper method for the same method on the Clover class to add extra logging.
|
void |
connect() |
void |
cutOff(Exception x)
This method is called by Cajo when the connection to the server is lost.
|
void |
disconnect()
Stop attempting to reconnect by cancelling the reconnection timer.
|
String |
getConnectionUrl() |
Object |
handleMessage(RpcMessage message) |
void |
init(Config tcpConfig) |
public void init(Config tcpConfig)
init in interface RecorderListenerpublic void allRecordersSliceStart(String type, Integer slice, Long startTime)
RpcMessage.METHODS if you change method's signature.public void allRecordersSliceEnd(String type, String method, String runtimeTestName, Integer slice, Integer i, ErrorInfo ei)
RpcMessage.METHODS if you change method signature.public Object handleMessage(RpcMessage message)
handleMessage in interface RecorderListenerpublic void cutOff(Exception x)
x - the exception that caused the connection to be lost. if null, then the server was shutdown.public void connect()
connect in interface RecorderListenerpublic void disconnect()
disconnect in interface RecorderListenerpublic String getConnectionUrl()
Copyright © 2023 OpenClover.org. All rights reserved.