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 protectedTCPController(Configuration configuration, MonitoringController monitoringController)Creates a new TCPController needs theMonitoringControllerto start and connect the TCP receiver. -
Method Summary
Modifier and Type Method Description protected voidcleanup()This method should clean up.java.lang.StringgetControllerDomain()protected voidinit()This method should to the initialization work.java.lang.StringtoString()Methods inherited from class kieker.monitoring.core.controller.AbstractController
createAndInitialize, isTerminated, setMonitoringController, terminate
-
Constructor Details
-
TCPController
Creates a new TCPController needs theMonitoringControllerto 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:
getControllerDomainin interfaceIRemoteController- Returns:
- the domain used by the controller
-
init
protected void init()Description copied from class:AbstractControllerThis method should to the initialization work.- Specified by:
initin classAbstractController
-
cleanup
protected void cleanup()Description copied from class:AbstractControllerThis method should clean up.- Specified by:
cleanupin classAbstractController
-
toString
public java.lang.String toString()- Specified by:
toStringin classAbstractController
-