#include <TransportBase.hh>
Public Types | |
enum | EventType { CONNECT, DISCONNECT, RECEIVE } |
Public Member Functions | |
TransportEvent (EventType et, ConnectionInfo &i, const std::string &p="") | |
Public Attributes | |
EventType | etype |
The type of event. | |
ConnectionInfo & | id |
The id of the connection. | |
std::string | packet |
The packet of data in case of a RECEIVE event. | |
Represents an event such as a connection, or receipt of data on a Transport.