|
void | sendData (const char *data, int dataSize) |
| Send data to the database. More...
|
|
void | sendData (std::string data) |
| Send data to the database. More...
|
|
void | openConnection (std::string server, std::string port) |
| Opens a connection to the database.
|
|
std::string | receiveData (bool stopOnNewLine=true) |
| Receives data from the other side of the connection. More...
|
|
◆ receiveData()
std::string NetworkHandler::receiveData |
( |
bool |
stopOnNewLine = true | ) |
|
Receives data from the other side of the connection.
- Parameters
-
stopOnNewLine | If true, will stop listning when encountering a new line. If false, will stop when the connection stops. |
◆ sendData() [1/2]
void NetworkHandler::sendData |
( |
const char * |
data, |
|
|
int |
dataSize |
|
) |
| |
Send data to the database.
- Parameters
-
data | The data to be send. |
dataSize | The size of the data array in bytes. |
◆ sendData() [2/2]
void NetworkHandler::sendData |
( |
std::string |
data | ) |
|
|
inline |
Send data to the database.
- Parameters
-
The documentation for this class was generated from the following files:
- SearchSECODatabaseAPI/JobDistribution/Networking.h
- SearchSECODatabaseAPI/JobDistribution/Networking.cpp