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. More...
#include <ClientSocketTransportContext.h>
Data Structures | |
class | Builder |
This Builder object is used to build a ClientSocketTransportContext. The ClientSocketTransportContext is configured using the builder so that once build() is called, the ClientSocketTransportContext is only returned if it is valid. You can use the Builder to create simple readable code like this: More... | |
Public Member Functions | |
std::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... | |
virtual bool | 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... | |
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.
std::string com::softwareag::umtransport::ClientSocketTransportContext::getHost | ( | ) |
Returns the current value that has been set for the host name
int com::softwareag::umtransport::ClientSocketTransportContext::getPort | ( | ) |
Returns the current value that has been set for the port
|
virtual |
This ClientTransportContext supports Async which means that it can be used to create AsynchronousTransports using the TransportFactory.connect variant which takes callback objects.
Implements com::softwareag::umtransport::TransportContext.
Reimplemented in com::softwareag::umtransport::ClientSSLTransportContext.