com.softwareag.um.io.ServerSocketTransportContext Class Reference

Constructed using the ServerSocketTransportContext.Builder. More...

Inheritance diagram for com.softwareag.um.io.ServerSocketTransportContext:
com.softwareag.um.io.ServerTransportContext com.softwareag.um.io.TransportContext com.softwareag.um.io.ServerSSLTransportContext

Public Member Functions

final String getAdapter ()
 Returns the adapter that will be bound to by ServerTransports created using this ServerContext. More...
 
final int getPort ()
 Returns the port that will be used by ServerTransports created using this ServerContext. More...
 
final int getReadBufferSize ()
 Get the read buffer size in bytes that will be used by ServerTransports created using this ServerContext. More...
 
final int getWriteBufferSize ()
 Get the write buffer size in bytes that will be used by ServerTransports created using this ServerContext. More...
 
boolean supportsAsync ()
 This ServerTransportContext supports Async which means that it can be used to create AsynchronousServerTransports using the TransportFactory.bind variant which takes callback objects. More...
 

Detailed Description

Constructed using the ServerSocketTransportContext.Builder.

All information must be set on the Builder so that when this object is built, it is validated. It is used to create Transport objects using TransportFactory.connect. Communication on the transport is transmitted using TCP Sockets.

Member Function Documentation

final String com.softwareag.um.io.ServerSocketTransportContext.getAdapter ( )

Returns the adapter that will be bound to by ServerTransports created using this ServerContext.

Returns
the adapter that ServerTransports will bind to e.g. "0.0.0.0"
final int com.softwareag.um.io.ServerSocketTransportContext.getPort ( )

Returns the port that will be used by ServerTransports created using this ServerContext.

Returns
the port that ServerTransports will bind to e.g. 8080
final int com.softwareag.um.io.ServerSocketTransportContext.getReadBufferSize ( )

Get the read buffer size in bytes that will be used by ServerTransports created using this ServerContext.

Returns
the read buffer size in bytes
final int com.softwareag.um.io.ServerSocketTransportContext.getWriteBufferSize ( )

Get the write buffer size in bytes that will be used by ServerTransports created using this ServerContext.

Returns
the write buffer size in bytes
boolean com.softwareag.um.io.ServerSocketTransportContext.supportsAsync ( )
virtual

This ServerTransportContext supports Async which means that it can be used to create AsynchronousServerTransports using the TransportFactory.bind variant which takes callback objects.

Returns
true

Implements com.softwareag.um.io.TransportContext.