com.softwareag.um.io.ClientSocketTransportContext Class Reference

Constructed using the ClientSocketTransportContext.Builder. More...

Inheritance diagram for com.softwareag.um.io.ClientSocketTransportContext:
com.softwareag.um.io.ClientTransportContext com.softwareag.um.io.TransportContext com.softwareag.um.io.ClientSSLTransportContext

Public Member Functions

String getHost ()
 Returns the current value that has been set for the host name. More...
 
int getPort ()
 Returns the current value that has been set for the port. More...
 
boolean supportsAsync ()
 This ClientTransportContext supports Async which means that it can be used to create AsynchronousTransports using the TransportFactory.connect variant which takes callback objects. More...
 

Detailed Description

Constructed using the ClientSocketTransportContext.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

String com.softwareag.um.io.ClientSocketTransportContext.getHost ( )

Returns the current value that has been set for the host name.

Returns
the host name that this Builder will set for the ClientTransportContext
int com.softwareag.um.io.ClientSocketTransportContext.getPort ( )

Returns the current value that has been set for the port.

Returns
the port that this Builder will set for the ClientTransportContext
boolean com.softwareag.um.io.ClientSocketTransportContext.supportsAsync ( )
virtual

This ClientTransportContext supports Async which means that it can be used to create AsynchronousTransports using the TransportFactory.connect variant which takes callback objects.

Returns
true

Implements com.softwareag.um.io.TransportContext.

Reimplemented in com.softwareag.um.io.ClientSSLTransportContext.