Class TCPController
java.lang.Object
kieker.monitoring.core.controller.AbstractController
kieker.monitoring.core.controller.TCPController
- All Implemented Interfaces:
IRemoteController
public class TCPController extends AbstractController implements IRemoteController
Enables remote control of probes (like (de-)activation) via TCP. Thereby
special records are used to pass the messages.
- Since:
- 1.14
- Author:
- Marc Adolf
-
Field Summary
Fields inherited from class kieker.monitoring.core.controller.AbstractController
monitoringController
-
Constructor Summary
Constructors Modifier Constructor Description protected
TCPController(Configuration configuration, MonitoringController monitoringController)
Creates a new TCPController needs theMonitoringController
to start and connect the TCP receiver. -
Method Summary
Modifier and Type Method Description protected void
cleanup()
This method should clean up.java.lang.String
getControllerDomain()
protected void
init()
This method should to the initialization work.java.lang.String
toString()
Methods inherited from class kieker.monitoring.core.controller.AbstractController
createAndInitialize, isTerminated, setMonitoringController, terminate
-
Constructor Details
-
TCPController
Creates a new TCPController needs theMonitoringController
to start and connect the TCP receiver.- Parameters:
configuration
- containing all related variables for the TCP settings.monitoringController
- the controller which is connected to the TCP receiver and where the commands are send to.
-
-
Method Details
-
getControllerDomain
public java.lang.String getControllerDomain()- Specified by:
getControllerDomain
in interfaceIRemoteController
- Returns:
- the domain used by the controller
-
init
protected void init()Description copied from class:AbstractController
This method should to the initialization work.- Specified by:
init
in classAbstractController
-
cleanup
protected void cleanup()Description copied from class:AbstractController
This method should clean up.- Specified by:
cleanup
in classAbstractController
-
toString
public java.lang.String toString()- Specified by:
toString
in classAbstractController
-