Class BasicTcpControlEvent
java.lang.Object
kieker.analysis.architecture.adaptation.events.BasicTcpControlEvent
- Direct Known Subclasses:
TcpActivationControlEvent,TcpDeactivationControlEvent,TcpUpdateParameterEvent
Contains the information needed to control a certain probe via TCP.
- Since:
- 1.15
- Author:
- Marc Adolf
-
Constructor Summary
ConstructorsConstructorDescriptionBasicTcpControlEvent(String ip, int port, String serviceComponent, String pattern, long triggerTimestamp) Creates a complete control event.BasicTcpControlEvent(String operationSignature, long triggerTimestamp) Creates a new control event without content except the pattern. -
Method Summary
Modifier and TypeMethodDescriptiongetIp()intgetPort()longvoidsetHostname(String hostname) voidvoidsetPort(int port)
-
Constructor Details
-
BasicTcpControlEvent
public BasicTcpControlEvent(String ip, int port, String serviceComponent, String pattern, long triggerTimestamp) Creates a complete control event.- Parameters:
ip- Address of the monitored application.port- Port of the TCP controller.serviceComponent- The name of the component which is using this IP and port.pattern- The pattern of the method that should be monitored.triggerTimestamp- original trigger timestamp
-
BasicTcpControlEvent
Creates a new control event without content except the pattern.- Parameters:
operationSignature- The pattern of the method that should be monitored.triggerTimestamp- original trigger timestamp
-
-
Method Details
-
getIp
-
getPort
public int getPort() -
getServiceComponent
-
getOperationSignature
-
setIp
-
setPort
public void setPort(int port) -
setHostname
-
getTriggerTimestamp
public long getTriggerTimestamp()
-