19 #ifndef SHM_Transporter_H
20 #define SHM_Transporter_H
22 #include "Transporter.hpp"
23 #include "SHM_Buffer.hpp"
38 const char *lHostName,
39 const char *rHostName,
62 void getReceivePtr(Uint32 ** ptr, Uint32 ** eod){
66 void updateReceivePtr(Uint32 * ptr){
106 bool connect_common(NDB_SOCKET_TYPE sockfd);
108 bool ndb_shm_create();
110 bool ndb_shm_attach();
129 Uint32 m_signal_threshold;
137 volatile Uint32 * serverStatusFlag;
138 volatile Uint32 * clientStatusFlag;
139 bool setupBuffersDone;
156 bool hasDataToRead()
const {
157 return reader->empty() ==
false;
160 void make_error_info(
char info[],
int sz);
162 bool send_limit_reached(
int bufsize)
164 return ((Uint32)bufsize >= m_signal_threshold);
166 bool send_is_possible(
int timeout_millisec)
const {
return 1; }