See: Description
Interface | Description |
---|---|
SoupBinTCPClientStatusListener |
The interface for inbound status events on the client side.
|
SoupBinTCPServerStatusListener |
The interface for inbound status events on the server side.
|
Class | Description |
---|---|
SoupBinTCP |
Common definitions.
|
SoupBinTCP.LoginAccepted |
Payload for the Login Accepted packet.
|
SoupBinTCP.LoginRejected |
Payload for the Login Rejected packet.
|
SoupBinTCP.LoginRequest |
Payload for the Login Request packet.
|
SoupBinTCPClient |
An implementation of the client side of the protocol.
|
SoupBinTCPServer |
An implementation of the server side of the protocol.
|
SoupBinTCPSession |
The base for both the client and server side of the protocol.
|
Exception | Description |
---|---|
SoupBinTCPException |
Indicates a protocol error while handling the SoupBinTCP protocol.
|
The implementation is based on the Java NIO API and consists of three primary functions:
SoupBinTCPSession.receive()
)SoupBinTCPSession.keepAlive()
)Data reception can run on one thread and data transmission and session keep-alive on another without locking. Data transmission and session keep-alive can run on different threads but require locking.
The underlying socket channels can be either blocking or non-blocking. In both cases, data transmission always blocks.
Copyright © 2017. All rights reserved.