Class BasicTcpControlEvent
java.lang.Object
kieker.analysis.architecture.adaptation.events.BasicTcpControlEvent
- Direct Known Subclasses:
TcpActivationControlEvent
,TcpDeactivationControlEvent
,TcpUpdateParameterEvent
public class BasicTcpControlEvent
extends java.lang.Object
Contains the information needed to control a certain probe via TCP.
- Since:
- 1.15
- Author:
- Marc Adolf
-
Constructor Summary
Constructors Constructor Description BasicTcpControlEvent(java.lang.String ip, int port, java.lang.String serviceComponent, java.lang.String pattern, long triggerTimestamp)
Creates a complete control event.BasicTcpControlEvent(java.lang.String operationSignature, long triggerTimestamp)
Creates a new control event without content except the pattern. -
Method Summary
Modifier and Type Method Description java.lang.String
getIp()
java.lang.String
getOperationSignature()
int
getPort()
java.lang.String
getServiceComponent()
long
getTriggerTimestamp()
void
setHostname(java.lang.String hostname)
void
setIp(java.lang.String ip)
void
setPort(int port)
-
Constructor Details
-
BasicTcpControlEvent
public BasicTcpControlEvent(java.lang.String ip, int port, java.lang.String serviceComponent, java.lang.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
public BasicTcpControlEvent(java.lang.String operationSignature, long triggerTimestamp)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
public java.lang.String getIp() -
getPort
public int getPort() -
getServiceComponent
public java.lang.String getServiceComponent() -
getOperationSignature
public java.lang.String getOperationSignature() -
setIp
public void setIp(java.lang.String ip) -
setPort
public void setPort(int port) -
setHostname
public void setHostname(java.lang.String hostname) -
getTriggerTimestamp
public long getTriggerTimestamp()
-