libktorrent
2.2.0
|
#include <connection.h>
Public Member Functions | |
virtual void | closed (Connection::Ptr conn)=0 |
Called when the connection is closed. | |
virtual bool | sendTo (Connection::Ptr conn, const PacketBuffer &packet)=0 |
Send a packet of a connection. | |
virtual void | stateChanged (Connection::Ptr conn, bool readable, bool writeable)=0 |
Connection has become readable, writeable or both. | |
Interface class for transmitting packets and notifying if a connection becomes readable or writeable
Definition at line 209 of file connection.h.