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. More...
#include <ServerSocketTransportContext.h>
Data Structures | |
class | Builder |
This Builder object is used to build a ServerSocketTransportContext. The ServerSocketTransportContext is configured using the builder so that once build() is called, the ServerSocketTransportContext 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 | getAdapter () |
Returns the adapter that will be bound to by ServerTransports created using this ServerContext More... | |
int | getPort () |
Returns the port that will be used by ServerTransports created using this ServerContext More... | |
int | getReadBufferSize () |
Get the read buffer size in bytes that will be used by ServerTransports created using this ServerContext More... | |
int | getWriteBufferSize () |
Get the write buffer size in bytes that will be used by ServerTransports created using this ServerContext More... | |
virtual bool | 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... | |
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.
std::string com::softwareag::umtransport::ServerSocketTransportContext::getAdapter | ( | ) |
Returns the adapter that will be bound to by ServerTransports created using this ServerContext
int com::softwareag::umtransport::ServerSocketTransportContext::getPort | ( | ) |
Returns the port that will be used by ServerTransports created using this ServerContext
int com::softwareag::umtransport::ServerSocketTransportContext::getReadBufferSize | ( | ) |
Get the read buffer size in bytes that will be used by ServerTransports created using this ServerContext
int com::softwareag::umtransport::ServerSocketTransportContext::getWriteBufferSize | ( | ) |
Get the write buffer size in bytes that will be used by ServerTransports created using this ServerContext
|
virtual |
This ServerTransportContext supports Async which means that it can be used to create AsynchronousServerTransports using the TransportFactory.bind variant which takes callback objects.
Implements com::softwareag::umtransport::TransportContext.