public class TcpWriterConsumerConfiguration extends AisBusConsumerConfiguration
| Constructor and Description |
|---|
TcpWriterConsumerConfiguration()
Instantiates a new Tcp writer consumer configuration.
|
| Modifier and Type | Method and Description |
|---|---|
TcpClientConf |
getClientConf()
Gets client conf.
|
String |
getHost()
Gets host.
|
AisBusComponent |
getInstance()
Gets instance.
|
int |
getPort()
Gets port.
|
int |
getReconnectInterval()
Gets reconnect interval.
|
void |
setClientConf(TcpClientConf clientConf)
Sets client conf.
|
void |
setHost(String host)
Sets host.
|
void |
setPort(int port)
Sets port.
|
void |
setReconnectInterval(int reconnectInterval)
Sets reconnect interval.
|
configure, getConsumerPullMaxElements, getConsumerQueueSize, setConsumerPullMaxElements, setConsumerQueueSizeconfigure, getDescription, getName, setDescription, setNameconfigure, getFilters, getTransformers, setFilters, setTransformerspublic TcpWriterConsumerConfiguration()
public int getPort()
public void setPort(int port)
port - the portpublic String getHost()
public void setHost(String host)
host - the hostpublic int getReconnectInterval()
public void setReconnectInterval(int reconnectInterval)
reconnectInterval - the reconnect intervalpublic TcpClientConf getClientConf()
public void setClientConf(TcpClientConf clientConf)
clientConf - the client confpublic AisBusComponent getInstance()
AisBusComponentConfigurationgetInstance in class AisBusComponentConfigurationCopyright © 2011–2019 Danish Maritime Authority. All rights reserved.