Package com.jk.core.test
Class Handler
java.lang.Object
com.jk.core.test.Handler
- All Implemented Interfaces:
Runnable
,org.jacoco.core.data.IExecutionDataVisitor
,org.jacoco.core.data.ISessionInfoVisitor
public class Handler
extends Object
implements Runnable, org.jacoco.core.data.ISessionInfoVisitor, org.jacoco.core.data.IExecutionDataVisitor
This class represents a handler for processing client connections and
collecting execution data from connected clients.
- Version:
- 1.0
- Author:
- Dr. Jalal H. Kiswani
-
Method Summary
Modifier and TypeMethodDescriptionvoid
run()
This method runs the handler logic to process the connected client.void
visitClassExecution
(org.jacoco.core.data.ExecutionData data) This method visits the class execution data received from the client.void
visitSessionInfo
(org.jacoco.core.data.SessionInfo info) This method visits the session info received from the client.
-
Method Details
-
run
public void run()This method runs the handler logic to process the connected client.This method is executed in a separate thread.
-
visitSessionInfo
public void visitSessionInfo(org.jacoco.core.data.SessionInfo info) This method visits the session info received from the client.Provides session information for the subsequent execution data calls. Incase of merged sessions this method might be called multiple times
- Specified by:
visitSessionInfo
in interfaceorg.jacoco.core.data.ISessionInfoVisitor
- Parameters:
info
- Specifies the session information.
-
visitClassExecution
public void visitClassExecution(org.jacoco.core.data.ExecutionData data) This method visits the class execution data received from the client.- Specified by:
visitClassExecution
in interfaceorg.jacoco.core.data.IExecutionDataVisitor
- Parameters:
data
- Specifies the execution data for a class.
-