|
| TCPClient (const std::string &serverIP, int serverPort) |
|
| TCPTransceiverSocket (int socketId=invalidSocketId) |
|
| TCPTransceiverSocket (TCPTransceiverSocket const &)=delete |
|
| TCPTransceiverSocket (TCPTransceiverSocket &&theTCPTransceiverSocket)=default |
|
std::string | sendAndReceivePacket (const std::string &sendBuffer) |
|
std::string | sendAndReceive (const std::string &sendBuffer) |
|
| TCPReceiverSocket (int socketId=invalidSocketId) |
|
| TCPReceiverSocket (TCPReceiverSocket &&theTCPReceiverSocket)=default |
|
template<class T > |
T | receive (void) |
|
std::string | receivePacket () |
|
void | setReceiveTimeout (unsigned int timeoutSeconds, unsigned int timeoutMicroSeconds) |
|
| TCPSocket (int socketId=invalidSocketId) |
|
| TCPSocket (TCPSocket &&move) |
|
TCPSocket & | operator= (TCPSocket &&move) |
|
void | swap (TCPSocket &other) |
|
| TCPSocket (TCPSocket const &)=delete |
|
TCPSocket & | operator= (TCPSocket const &)=delete |
|
int | getSocketId (void) const |
|
void | open (void) |
|
void | close (void) |
|
void | sendClose (void) |
|
| TCPTransmitterSocket (int socketId=invalidSocketId) |
|
| TCPTransmitterSocket (TCPTransmitterSocket &&theTCPTransmitterSocket)=default |
|
void | send (char const *buffer, std::size_t size) |
|
void | send (const std::string &buffer) |
|
void | send (const std::vector< char > &buffer) |
|
void | send (const std::vector< uint16_t > &buffer) |
|
template<typename T > |
void | send (const std::vector< T > &buffer) |
|
void | sendPacket (char const *buffer, std::size_t size) |
|
void | sendPacket (const std::string &buffer) |
|
void | setSendTimeout (unsigned int timeoutSeconds, unsigned int timeoutMicroSeconds) |
|
| TCPClientBase (const std::string &serverIP, int serverPort) |
|
bool | connect (int retry=-1, unsigned int sleepMilliSeconds=1000) |
|
bool | disconnect (void) |
|
Definition at line 10 of file TCPClient.h.