- com
- softwareag
- um
- modules
- transport
- AsynchronousTransport
This is a client side Transport object. More...
Public Member Functions | |
void | close () |
Close the Transport so that data can no longer be read/written. | |
boolean | isClosed () |
Used to check if the Transport has been closed. More... | |
void | write (ByteBuffer buffer) throws IOException |
Write (and flush) the data stored in the ByteBuffer to the network/file depending on the protocol used in the TransportContext. More... | |
This is a client side Transport object.
It is constructed on the client side by creating a ClientTransportContext which is then passed to TransportFactory.bind with the required callback objects (DataHandler, CloseHandler). On the server side, an AsynchronousServerTransport will accept connections and handle them as AsynchronousTransports.
boolean com.softwareag.um.modules.transport.AsynchronousTransport.isClosed | ( | ) |
Used to check if the Transport has been closed.
Implements com.softwareag.um.modules.transport.Transport.
void com.softwareag.um.modules.transport.AsynchronousTransport.write | ( | ByteBuffer | buffer | ) | throws IOException |
Write (and flush) the data stored in the ByteBuffer to the network/file depending on the protocol used in the TransportContext.
buffer | contains the binary data to write to the Transport |