TcpLib
|
▼Ctcp::AbstractMessage | Base class for messages which can be sent, received and processed by the Tcp-classes. |
▼Ctcp::Message | Contains a data stream which can be sent and received by the Tcp classes |
Ctcp::ServerMessage | Is a special Tcp message for the Server. The socket is included so that the server knows to whom it should send the data. |
▼Ctcp::ServerAcceptMessage | A special Tcp message, with which the ServerAcceptReceiver can register a new Client. |
Ctcp::ServerMessage | Is a special Tcp message for the Server. The socket is included so that the server knows to whom it should send the data. |
Ceut::CriticalSection | Is a mutex which can be queried via its lock mode. See isLocked() |
▼Cstd::exception | STL class |
▼Cstd::runtime_error | STL class |
Ceut::ErrorNException | This exception class has an integer attribute for an error number in addition to the message. |
▼Ceut::RepeatingThread | Base class for a thread that executes its work endlessly until aborted |
▼Ctcp::ReceiverTransmitter | Superclass for all Receiver and Transmitter, which communicate via a SOCKET. |
▼Ctcp::Receiver | Superclass for all TcpReceiver that communicate via a SOCKET and deliver their receive result to their parent object. |
▼Ctcp::DataReceiver | 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. |
Ctcp::ClientReceiver | 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. |
Ctcp::ServerReceiver | 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. |
Ctcp::ServerAcceptReceiver | Accept-Receiver accepts new clients and registers them with its parent object (usually a Server or a subclass of it). |
Ctcp::Transmitter | A class that communicates with a Client or Server via a SOCKET and expects send data of type Message. |
▼Ctcp::TcpMain | Superclass for Client and Server, which 'learns' its know-how in the derived classes. |
▼Ctcp::Client | A simple TCP client class, which should learn its know-how in the derived classes |
CMyTestClient | An example class for a simple client derived from Client |
▼Ctcp::Server | A simple TCP server class, which should learn its know-how in the derived classes |
CMyTestServer | An example class for a simple server derived from Server |
Ctcp::Server::ServerReceiverTransmitter | Tuple of socket Receiver and Transmitter for the Server. |