See: Description
Interface | Description |
---|---|
Message.Label |
Defines the possible labels of a
Message . |
Message.Oper |
Defines the operation codes of a
Message . |
Message.Prot |
Defines the protection codes of a
Message . |
Message.Reply |
Defines the reply codes of a
Message . |
Message.Type |
Defines the possible types of a
Message . |
MulticastListener |
Listener interface for receiving multicast messages.
|
OneWayListener |
Listener interface for receiving one-way messages.
|
ReplyListener |
Listener interface for receiving reply messages.
|
TimerListener |
Listener interface for receiving timer events.
|
TransactionListener |
Listener interface for receiving transaction messages.
|
Class | Description |
---|---|
ClientChannel |
Communication channel between a client application and the OBCOM
NetServer.
|
ClientListener |
Implements methods that are called when special events occurs to a
ClientChannel object. |
ClientSlot |
Implements a sub channel within a
ClientChannel TCP/IP communication
channel. |
Layout |
Defines a collection of data items (fields) whose values can be stored in a
Message . |
LayoutField |
Defines the properties of a data item whose value can be stored in a
Message . |
LayoutManager |
Implements a collection (cache) of reusable
Layout instances. |
Message |
Used to exchange information with a NetServer.
|
ServerChannel |
Communication channel between a server application and the OBCOM
NetServer.
|
ServerEvent |
Provides information associatted with a
ServerChannel event. |
Exception | Description |
---|---|
ConnectException |
Exception thrown when a connect operation fails.
|
NetException |
Exception thrown when an error of some sort has occurred.
|
ReadException |
Exception thrown when a read operation fails.
|
TimeoutException |
Exception thrown when a blocking operation times out.
|
WriteException |
Exception thrown when a write operation fails.
|
The main classes are ClientChannel
, used to build
client applications, and ServerChannel
, used to
build server applications.
Applications can exchange text or binary messages of any size. Formatted text
messages can be read or written using layouts
, which describe the name and type of each field of a message.
Property | Description | Type | Default |
---|---|---|---|
cl.obcom.netclient.always.encrypt | Always encrypt the messages sent to the NetServer | Boolean | false |
cl.obcom.netclient.client.inbound | Log inbound client messages for debugging | Boolean | false |
cl.obcom.netclient.client.keepalive | Enable or disable client socket SO_KEEPALIVE | Boolean | false |
cl.obcom.netclient.client.outbound | Log outbound client messages for debugging | Boolean | false |
cl.obcom.netclient.client.tcpnodelay | Enable or disable client socket TCP_NODELAY | Boolean | false |
cl.obcom.netclient.signansi | Use the ANSI instead of the TANDEM numeric packing mechanism | Boolean | false |
cl.obcom.netclient.server.keepalive | Enable or disable server socket SO_KEEPALIVE | Boolean | false |
cl.obcom.netclient.server.inbound | Log inbound server messages for debugging | Boolean | false |
cl.obcom.netclient.server.outbound | Log outbound server messages for debugging | Boolean | false |
cl.obcom.netclient.server.tcpnodelay | Enable or disable server socket TCP_NODELAY | Boolean | false |
cl.obcom.netclient.strict | Apply strict validation rules to message field values | Boolean | false |
ClientChannel
,
ServerChannel
Copyright © OBCOM INGENIERIA S.A. (Chile). All Rights Reserved.