public class TcpClientSource extends AbstractModuleFixture<TcpClientSource>
label
Constructor and Description |
---|
TcpClientSource(java.lang.String host,
int port) |
Modifier and Type | Method and Description |
---|---|
TcpClientSource |
host(java.lang.String host)
Sets the host for the fixture
|
TcpClientSource |
outputType(java.lang.String outputType)
Sets the output type for the fixture
|
TcpClientSource |
port(int port)
Sets the port for the fixture
|
protected java.lang.String |
toDSL()
Returns a representation of the module suitable for inclusion in a stream definition, e.g.
file --dir=xxxx --name=yyyy |
label, toString
protected java.lang.String toDSL()
AbstractModuleFixture
file --dir=xxxx --name=yyyy
toDSL
in class AbstractModuleFixture<TcpClientSource>
public TcpClientSource host(java.lang.String host)
host
- The host where the tcp-client will request datapublic TcpClientSource port(int port)
port
- The port where tcp-client will request datapublic TcpClientSource outputType(java.lang.String outputType)
outputType
- The conversion type for tcp-client