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, getTerminationStrategyabort, 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, workCompletedpublic SingleSocketTcpReaderStage()
port1=10133 and bufferCapacity=65535.public SingleSocketTcpReaderStage(int port,
int bufferCapacity)
port - used to accept IMonitoringRecords and string registry entries.bufferCapacity - capacity of the receiving bufferprotected void execute()
execute in class teetime.framework.AbstractStagepublic void onRecordReceived(IMonitoringRecord record)
onRecordReceived in interface IRecordReceivedListenerpublic int getPort()
Copyright 2020 Kieker Project, http://kieker-monitoring.net