#include <Socket.h>
Inheritance diagram for Socket:

Public Methods | |
| virtual | ~Socket ()=0 |
| int | writeLine (string msg) |
| int | writeLine (const char *msg) |
| bool | startBinaryTransfer (int64_t length, int packetSize) |
| int | readBinary (uint8_t *buffer, int maxlen) |
| int | writeBinary (const uint8_t *buffer, int length) |
| virtual int | readLine (string &msg)=0 |
| virtual void | interrupt ()=0 |
| virtual void | close () |
Protected Methods | |
| virtual int | readBlock (void *buffer, int maxlen)=0 |
| virtual int | writeBlock (const void *buffer, int length)=0 |
|
|
Destructor. Close and delete this socket. |
|
|
Close the socket. Reimplemented in ISocket. |
|
|
Interrupt current read actions (socket becomes write-only). |
|
||||||||||||
|
Read binary packet data from the socket.
|
|
||||||||||||
|
Reads raw bytes from the socket for binary data transmission.
|
|
|
Read a single line of ASCII data (CR/LF automatically removed).
|
|
||||||||||||
|
Start transfer of binary packet data.
|
|
||||||||||||
|
Write binary packet data to the socket.
|
|
||||||||||||
|
Writes raw data to the socket for binary data transmission.
|
|
|
Write a single line of ASCII data (CR/LF automatically added).
|
|
|
Write a single line of ASCII data (CR/LF automatically added).
|
1.2.18