TcpLib
|
▼Neut | |
CCriticalSection | Is a mutex which can be queried via its lock mode. See isLocked() |
CErrorNException | This exception class has an integer attribute for an error number in addition to the message. |
CRepeatingThread | Base class for a thread that executes its work endlessly until aborted |
▼Ntcp | |
CAbstractMessage | Base class for messages which can be sent, received and processed by the Tcp-classes. |
CClient | A simple TCP client class, which should learn its know-how in the derived classes |
CClientReceiver | Class that communicates with a Server via a SOCKET and delivers its receive result of type Message to its "owner", which must be a Client. You can use the method ClientReceiver::acceptMessage(AbstractMessage * pTcpMessage) to change the delivery to the "owner" in subclasses by overwriting the method. |
CDataReceiver | Superclass for all TcpReceiver that communicate via a SOCKET and deliver their receive result, a type derived from AbstractMessage, to their "owner". Since a message can be composed (it is a stream, which may be delivered in chunks), a buffer is created here, which contains data as long as the stream is not complete. |
CMessage | Contains a data stream which can be sent and received by the Tcp classes |
CReceiver | Superclass for all TcpReceiver that communicate via a SOCKET and deliver their receive result to their parent object. |
CReceiverTransmitter | Superclass for all Receiver and Transmitter, which communicate via a SOCKET. |
▼CServer | A simple TCP server class, which should learn its know-how in the derived classes |
CServerReceiverTransmitter | Tuple of socket Receiver and Transmitter for the Server. |
CServerAcceptMessage | A special Tcp message, with which the ServerAcceptReceiver can register a new Client. |
CServerAcceptReceiver | Accept-Receiver accepts new clients and registers them with its parent object (usually a Server or a subclass of it). |
CServerMessage | Is a special Tcp message for the Server. The socket is included so that the server knows to whom it should send the data. |
CServerReceiver | Class that communicates with a Client via a SOCKET and delivers its receive result of type ServerMessage to its "owner", which must be a Server. You can use the method ServerReceiver::acceptMessage(AbstractMessage * pTcpMessage) to change the delivery to the "owner" in subclasses by overwriting the method. |
CTcpMain | Superclass for Client and Server, which 'learns' its know-how in the derived classes. |
CTransmitter | A class that communicates with a Client or Server via a SOCKET and expects send data of type Message. |
CMyTestClient | An example class for a simple client derived from Client |
CMyTestServer | An example class for a simple server derived from Server |