Package org.openwms.common.comm.config
Class Subsystem.Duplex
java.lang.Object
org.openwms.common.comm.config.Subsystem.Duplex
- Enclosing class:
Subsystem
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringThe hostname to connect to in client mode.private StringThe telegram field name that identifies the corresponding receiving party.private StringThe value of the identifying field to match the corresponding receiving party.private Subsystem.MODEWhether the inbound connection channel is operated in client or server mode.private IntegerThe port to connect to in client 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. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMode()getPort()voidsetHostname(String hostname) voidsetIdentifiedByField(String identifiedByField) voidsetIdentifiedByValue(String identifiedByValue) voidsetMode(Subsystem.MODE mode) voidvoidsetSoReceiveBufferSize(Integer soReceiveBufferSize) voidsetSoSendBufferSize(Integer soSendBufferSize) voidsetSoTimeout(Integer soTimeout)
-
Field Details
-
mode
Whether the inbound connection channel is operated in client or server mode. -
hostname
The hostname to connect to in client mode. -
port
The port to connect to in client mode. -
soTimeout
Socket timeout in [ms], the idle time when to close the connection. -
soSendBufferSize
The size of the send buffer for tcp/ip connections. -
soReceiveBufferSize
The size of the receive buffer for tcp/ip connections. -
identifiedByField
The telegram field name that identifies the corresponding receiving party. -
identifiedByValue
The value of the identifying field to match the corresponding receiving party.
-
-
Constructor Details
-
Duplex
public Duplex()
-
-
Method Details
-
getMode
-
setMode
-
getHostname
-
setHostname
-
getPort
-
setPort
-
getSoTimeout
-
setSoTimeout
-
getSoSendBufferSize
-
setSoSendBufferSize
-
getSoReceiveBufferSize
-
setSoReceiveBufferSize
-
getIdentifiedByField
-
setIdentifiedByField
-
getIdentifiedByValue
-
setIdentifiedByValue
-