#include <PDBCommunicator.h>
|
bool | pointToFile (PDBLoggerPtr logToMeIn, int socketFDIn, std::string &errMsg) |
|
bool | pointToInternet (PDBLoggerPtr logToMeIn, int socketFDIn, std::string &errMs) |
|
bool | connectToInternetServer (PDBLoggerPtr logToMeIn, int portNumber, std::string serverAddress, std::string &errMsg) |
|
bool | connectToLocalServer (PDBLoggerPtr logToMeIn, std::string fName, std::string &errMsg) |
|
size_t | getSizeOfNextObject () |
|
template<class ObjType > |
Handle< ObjType > | getNextObject (void *readToHere, bool &success, std::string &errMsg) |
|
template<class ObjType > |
Handle< ObjType > | getNextObject (bool &success, std::string &errMsg) |
|
template<class ObjType > |
bool | sendObject (Handle< ObjType > &sendMe, std::string &errMsg) |
|
bool | sendBytes (void *data, size_t size, std::string &errMsg) |
|
bool | receiveBytes (void *data, std::string &errMsg) |
|
virtual | ~PDBCommunicator () |
|
| PDBCommunicator () |
|
int16_t | getObjectTypeID () |
|
void | setNeedsToDisconnect (bool option) |
|
int | getSocketFD () |
|
bool | isSocketClosed () |
|
bool | isLongConnection () |
|
void | setLongConnection (bool longConnection) |
|
bool | reconnect (std::string &errMsg) |
|
Definition at line 43 of file PDBCommunicator.h.
pdb::PDBCommunicator::~PDBCommunicator |
( |
| ) |
|
|
virtual |
pdb::PDBCommunicator::PDBCommunicator |
( |
| ) |
|
bool pdb::PDBCommunicator::connectToInternetServer |
( |
PDBLoggerPtr |
logToMeIn, |
|
|
int |
portNumber, |
|
|
std::string |
serverAddress, |
|
|
std::string & |
errMsg |
|
) |
| |
bool pdb::PDBCommunicator::connectToLocalServer |
( |
PDBLoggerPtr |
logToMeIn, |
|
|
std::string |
fName, |
|
|
std::string & |
errMsg |
|
) |
| |
bool pdb::PDBCommunicator::doTheRead |
( |
char * |
dataIn | ) |
|
|
private |
bool pdb::PDBCommunicator::doTheWrite |
( |
char * |
start, |
|
|
char * |
end |
|
) |
| |
|
private |
template<class ObjType >
Handle< ObjType > pdb::PDBCommunicator::getNextObject |
( |
void * |
readToHere, |
|
|
bool & |
success, |
|
|
std::string & |
errMsg |
|
) |
| |
template<class ObjType >
Handle< ObjType > pdb::PDBCommunicator::getNextObject |
( |
bool & |
success, |
|
|
std::string & |
errMsg |
|
) |
| |
int16_t pdb::PDBCommunicator::getObjectTypeID |
( |
| ) |
|
size_t pdb::PDBCommunicator::getSizeOfNextObject |
( |
| ) |
|
int pdb::PDBCommunicator::getSocketFD |
( |
| ) |
|
bool pdb::PDBCommunicator::isLongConnection |
( |
| ) |
|
bool pdb::PDBCommunicator::isSocketClosed |
( |
| ) |
|
bool pdb::PDBCommunicator::pointToFile |
( |
PDBLoggerPtr |
logToMeIn, |
|
|
int |
socketFDIn, |
|
|
std::string & |
errMsg |
|
) |
| |
bool pdb::PDBCommunicator::pointToInternet |
( |
PDBLoggerPtr |
logToMeIn, |
|
|
int |
socketFDIn, |
|
|
std::string & |
errMs |
|
) |
| |
bool pdb::PDBCommunicator::receiveBytes |
( |
void * |
data, |
|
|
std::string & |
errMsg |
|
) |
| |
|
inline |
bool pdb::PDBCommunicator::reconnect |
( |
std::string & |
errMsg | ) |
|
bool pdb::PDBCommunicator::sendBytes |
( |
void * |
data, |
|
|
size_t |
size, |
|
|
std::string & |
errMsg |
|
) |
| |
|
inline |
template<class ObjType >
bool pdb::PDBCommunicator::sendObject |
( |
Handle< ObjType > & |
sendMe, |
|
|
std::string & |
errMsg |
|
) |
| |
void pdb::PDBCommunicator::setLongConnection |
( |
bool |
longConnection | ) |
|
void pdb::PDBCommunicator::setNeedsToDisconnect |
( |
bool |
option | ) |
|
std::string pdb::PDBCommunicator::fileName |
|
private |
bool pdb::PDBCommunicator::isInternet |
|
private |
bool pdb::PDBCommunicator::longConnection |
|
private |
size_t pdb::PDBCommunicator::msgSize |
|
private |
bool pdb::PDBCommunicator::needToSendDisconnectMsg |
|
private |
int16_t pdb::PDBCommunicator::nextTypeID |
|
private |
int pdb::PDBCommunicator::portNumber |
|
private |
bool pdb::PDBCommunicator::readCurMsgSize |
|
private |
std::string pdb::PDBCommunicator::serverAddress |
|
private |
bool pdb::PDBCommunicator::socketClosed |
|
private |
int pdb::PDBCommunicator::socketFD |
|
private |
The documentation for this class was generated from the following files: