public final class SingleSocketTcpReaderStage extends teetime.framework.AbstractProducerStage<IMonitoringRecord> implements IRecordReceivedListener
Constructor and Description |
---|
SingleSocketTcpReaderStage()
Default constructor with
port1=10133 and bufferCapacity=65535 . |
SingleSocketTcpReaderStage(int port,
int bufferCapacity) |
Modifier and Type | Method and Description |
---|---|
protected void |
execute() |
int |
getPort() |
void |
onRecordReceived(IMonitoringRecord record) |
getOutputPort, getTerminationStrategy
abort, addInputPortRemovedListener, addOutputPortRemovedListener, compareAndSetBeingExecuted, createInputPort, createInputPort, createInputPort, createInputPort, createOutputPort, createOutputPort, createOutputPort, createOutputPort, declareActive, declarePassive, executeByFramework, getCurrentState, getId, getInputPorts, getOutputPorts, getOwningThread, isActive, isBeingExecuted, isPaused, isProducer, isStateless, onSignal, onStarting, onTerminating, onValidating, removeDynamicPort, removeDynamicPort, setPaused, setStateless, shouldBeTerminated, signalAlreadyReceived, terminateStage, toString, workCompleted
public SingleSocketTcpReaderStage()
port1=10133
and bufferCapacity=65535
.public SingleSocketTcpReaderStage(int port, int bufferCapacity)
port
- used to accept IMonitoringRecord
s and string registry entries.bufferCapacity
- capacity of the receiving bufferprotected void execute()
execute
in class teetime.framework.AbstractStage
public void onRecordReceived(IMonitoringRecord record)
onRecordReceived
in interface IRecordReceivedListener
public int getPort()
Copyright 2020 Kieker Project, http://kieker-monitoring.net