Protected Member Functions |
|
| Transporter (TransporterRegistry &, TransporterType, const char *lHostName, const char *rHostName, int s_port, bool isMgmConnection, NodeId lNodeId, NodeId rNodeId, NodeId serverNodeId, int byteorder, bool compression, bool checksum, bool signalId, Uint32 max_send_buffer) |
|
virtual bool | configure (const TransporterConfiguration *conf) |
|
virtual bool | configure_derived (const TransporterConfiguration *conf)=0 |
| virtual bool | connect_server_impl (NDB_SOCKET_TYPE sockfd)=0 |
|
virtual bool | connect_client_impl (NDB_SOCKET_TYPE sockfd)=0 |
|
virtual int | pre_connect_options (NDB_SOCKET_TYPE sockfd) |
| virtual void | disconnectImpl ()=0 |
|
TransporterCallback * | get_callback_obj () |
|
void | do_disconnect (int err) |
|
void | report_error (enum TransporterError err, const char *info=0) |
| Uint32 | fetch_send_iovec_data (struct iovec dst[], Uint32 cnt) |
|
void | iovec_data_sent (int nBytesSent) |
Protected Attributes |
| char | remoteHostName [256] |
|
char | localHostName [256] |
|
struct in_addr | remoteHostAddress |
|
struct in_addr | localHostAddress |
|
int | m_s_port |
|
const NodeId | remoteNodeId |
|
const NodeId | localNodeId |
|
const bool | isServer |
|
unsigned | createIndex |
|
int | byteOrder |
|
bool | compressionUsed |
|
bool | checksumUsed |
|
bool | signalIdUsed |
|
Packer | m_packer |
|
Uint32 | m_max_send_buffer |
|
Uint32 | m_overload_limit |
|
Uint32 | m_os_max_iovec |
|
Uint32 | m_timeOutMillis |
|
bool | m_connected |
|
TransporterType | m_type |
|
TransporterRegistry & | m_transporter_registry |
Friends |
|
class | TransporterRegistry |
Detailed Description
Definition at line 35 of file Transporter.hpp.
Constructor & Destructor Documentation
| Transporter::~Transporter |
( |
| ) |
|
|
virtual |
Member Function Documentation
| bool Transporter::connect_client |
( |
| ) |
|
|
virtual |
| virtual bool Transporter::connect_server_impl |
( |
NDB_SOCKET_TYPE |
sockfd | ) |
|
|
protectedpure virtual |
| virtual void Transporter::disconnectImpl |
( |
| ) |
|
|
protectedpure virtual |
| void Transporter::doDisconnect |
( |
| ) |
|
|
virtual |
| Uint32 Transporter::fetch_send_iovec_data |
( |
struct iovec |
dst[], |
|
|
Uint32 |
cnt |
|
) |
| |
|
inlineprotected |
Get data to send (in addition to data possibly remaining from previous partial send).
Definition at line 217 of file Transporter.hpp.
| int Transporter::get_s_port |
( |
| ) |
|
|
inline |
| NodeId Transporter::getLocalNodeId |
( |
| ) |
const |
|
inline |
| NodeId Transporter::getRemoteNodeId |
( |
| ) |
const |
|
inline |
| bool Transporter::isConnected |
( |
| ) |
const |
|
inline |
| void Transporter::set_s_port |
( |
int |
port | ) |
|
|
inline |
Member Data Documentation
| char Transporter::remoteHostName[256] |
|
protected |
The documentation for this class was generated from the following files: