Package org.openwms.common.comm.config
Class Connections
java.lang.Object
org.openwms.common.comm.config.Connections
@Public
@Component
@ConfigurationProperties(prefix="owms.driver.connections")
public class Connections
extends Object
A Connections.
- Author:
- Heiko Scherrer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringThe hostname to connect to in client mode.private StringThe field name in the message that identifies the message receiver.private StringThe listening port used in synchronous mode.private IntegerThe size of the receive buffer for tcp/ip connections.private IntegerThe size of the send buffer for tcp/ip connections.private IntegerSocket timeout in [ms], the idle time when to close the connection.All subsystems. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetHostname(String hostname) voidsetIdentifiedByField(String identifiedByField) voidsetPortRest(String portRest) voidsetSoReceiveBufferSize(Integer soReceiveBufferSize) voidsetSoSendBufferSize(Integer soSendBufferSize) voidsetSoTimeout(Integer soTimeout) voidsetSubsystems(List<Subsystem> subsystems)
-
Field Details
-
hostname
The hostname to connect to in client mode. -
portRest
The listening port used in synchronous mode. -
soTimeout
Socket timeout in [ms], the idle time when to close the connection. -
soReceiveBufferSize
The size of the receive buffer for tcp/ip connections. -
soSendBufferSize
The size of the send buffer for tcp/ip connections. -
identifiedByField
The field name in the message that identifies the message receiver. -
subsystems
All subsystems.
-
-
Constructor Details
-
Connections
public Connections()
-
-
Method Details
-
getHostname
-
setHostname
-
getPortRest
-
setPortRest
-
getSoTimeout
-
setSoTimeout
-
getSoReceiveBufferSize
-
setSoReceiveBufferSize
-
getSoSendBufferSize
-
setSoSendBufferSize
-
getIdentifiedByField
-
setIdentifiedByField
-
getSubsystems
-
setSubsystems
-