Package kieker.tools.source
Class MultipleConnectionTcpSourceCompositeStage
java.lang.Object
teetime.framework.CompositeStage
kieker.tools.source.MultipleConnectionTcpSourceCompositeStage
- All Implemented Interfaces:
ISourceCompositeStage
public class MultipleConnectionTcpSourceCompositeStage
extends teetime.framework.CompositeStage
implements ISourceCompositeStage
Multiple TCP input composite stage. This wrapper composite stage allows to configure the
MultipleConnectionTcpSourceStage via a configuration object.
Configuration parameters are:
- port
- port where the service is listening on
- capacity
- capacity of the receiving buffer
- recordRewriter
- the record rewriter used to rewrite trace ids
- Since:
- 1.15
- Author:
- Reiner Jung
-
Field Summary
FieldsFields inherited from class teetime.framework.CompositeStage
DEFAULT_PIPE_CAPACITY -
Constructor Summary
ConstructorsConstructorDescriptionMultipleConnectionTcpSourceCompositeStage(int inputPort, int capacity, ITraceMetadataRewriter rewriter) Create a composite reader stage for TCP connections .MultipleConnectionTcpSourceCompositeStage(Configuration configuration) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionteetime.framework.OutputPort<IMonitoringRecord>get the output port of a source composite stage.Methods inherited from class teetime.framework.CompositeStage
connectPorts, connectPorts, createInputPort, createOutputPort
-
Field Details
-
SOURCE_PORT
-
-
Constructor Details
-
MultipleConnectionTcpSourceCompositeStage
@Deprecated public MultipleConnectionTcpSourceCompositeStage(Configuration configuration) throws ConfigurationException Deprecated.Create a composite reader stage for TCP connections.- Parameters:
configuration- configuration parameters- Throws:
ConfigurationException- on configuration errors during instantiation
-
MultipleConnectionTcpSourceCompositeStage
public MultipleConnectionTcpSourceCompositeStage(int inputPort, int capacity, ITraceMetadataRewriter rewriter) Create a composite reader stage for TCP connections .- Parameters:
inputPort- the input port to listen tocapacity- internal ready buffer size, the buffer size must be at least as big as the largest incoming eventrewriter- trace record metadata rewriter, (necessary when multiple sources send traces).
-
-
Method Details
-
getOutputPort
Description copied from interface:ISourceCompositeStageget the output port of a source composite stage.- Specified by:
getOutputPortin interfaceISourceCompositeStage- Returns:
- the proper output port
-