com::softwareag::umtransport::ServerRDMATransportContext Class Reference

Constructed using the ServerRDMATransportContext.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.bind. Communication on the transport is transmitted using Remote Direct Memory Access. More...

#include <ServerRDMATransportContext.h>

Inheritance diagram for com::softwareag::umtransport::ServerRDMATransportContext:
com::softwareag::umtransport::ServerTransportContext com::softwareag::umtransport::TransportContext

Data Structures

class  Builder
 This Builder object is used to build a ServerRDMATransportContext. The ServerRDMATransportContext is configured using the builder so that once build() is called, the ServerRDMATransportContext 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 ()
 Get the value for the adapter on this machine that RDMA Transport will bind to. Connections will only be accepted on this adapter. "0.0.0.0" means all adapters on the machine. More...
 
int getPort ()
 Returns the port that will be used in ServerTransports created using this context More...
 
virtual bool supportsAsync ()
 This ServerTransportContext does not currently support Async which means that an exception will be thrown if you try to create an AsynchronousServerTransport using the TransportFactory.bind variant which takes callback objects. More...
 

Detailed Description

Constructed using the ServerRDMATransportContext.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.bind. Communication on the transport is transmitted using Remote Direct Memory Access.

Member Function Documentation

std::string com::softwareag::umtransport::ServerRDMATransportContext::getAdapter ( )

Get the value for the adapter on this machine that RDMA Transport will bind to. Connections will only be accepted on this adapter. "0.0.0.0" means all adapters on the machine.

Returns
String the adapter that the ServerTransport will use
int com::softwareag::umtransport::ServerRDMATransportContext::getPort ( )

Returns the port that will be used in ServerTransports created using this context

Returns
the port that will be used in ServerTransports created using this context
virtual bool com::softwareag::umtransport::ServerRDMATransportContext::supportsAsync ( )
virtual

This ServerTransportContext does not currently support Async which means that an exception will be thrown if you try to create an AsynchronousServerTransport using the TransportFactory.bind variant which takes callback objects.

Returns
false

Implements com::softwareag::umtransport::TransportContext.