#include <NdbTCP.h>
#include <NdbMutex.h>
#include <NdbThread.h>
#include <Vector.hpp>
Go to the source code of this file.
Data Structures | |
| class | SocketServer |
| class | SocketServer::Service |
| struct | SocketServer::ServiceInstance |
| class | SocketServer::Session |
| struct | SocketServer::SessionInstance |
Functions | |
| void * | sessionThread_C (void *) |
| void * | socketServerThread_C (void *) |
|
|
may have m_stopped set if we're transforming a mgm connection into a transporter connection. Definition at line 318 of file SocketServer.cpp. References SocketServer::Session::m_socket, SocketServer::Session::m_stop, SocketServer::Session::m_stopped, NDB_CLOSE_SOCKET, SocketServer::Session::runSession(), and transfer(). 00318 { 00319 SocketServer::Session * si = (SocketServer::Session *)_sc; 00320 00321 if(!transfer(si->m_socket)){ 00322 si->m_stopped = true; 00323 return 0; 00324 } 00325 00330 if(!si->m_stopped) 00331 { 00332 if(!si->m_stop){ 00333 si->m_stopped = false; 00334 si->runSession(); 00335 } else { 00336 NDB_CLOSE_SOCKET(si->m_socket); 00337 } 00338 } 00339 00340 si->m_stopped = true; 00341 return 0; 00342 }
|
|
|
Definition at line 200 of file SocketServer.cpp. References SocketServer::doRun(). 00200 { 00201 SocketServer * ss = (SocketServer *)_ss; 00202 ss->doRun(); 00203 return 0; 00204 }
|
1.4.3