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 String
The hostname to connect to in client mode.private String
The field name in the message that identifies the message receiver.private String
The listening port used in synchronous mode.private Integer
The size of the receive buffer for tcp/ip connections.private Integer
The size of the send buffer for tcp/ip connections.private Integer
Socket timeout in [ms], the idle time when to close the connection.All subsystems. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setHostname
(String hostname) void
setIdentifiedByField
(String identifiedByField) void
setPortRest
(String portRest) void
setSoReceiveBufferSize
(Integer soReceiveBufferSize) void
setSoSendBufferSize
(Integer soSendBufferSize) void
setSoTimeout
(Integer soTimeout) void
setSubsystems
(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
-