#include <socks5bytestreamdatahandler.h>
Public Member Functions | |
| virtual | ~SOCKS5BytestreamDataHandler () |
| virtual void | handleSOCKS5Data (SOCKS5Bytestream *s5b, const std::string &data)=0 |
| virtual void | handleSOCKS5Error (SOCKS5Bytestream *s5b, Stanza *stanza)=0 |
| virtual void | handleSOCKS5Open (SOCKS5Bytestream *s5b)=0 |
| virtual void | handleSOCKS5Close (SOCKS5Bytestream *s5b)=0 |
An SOCKS5BytestreamDataHandler is registered with a SOCKS5Bytestream.
See SOCKS5BytestreamManager for a detailed description on how to implement SOCKS5 Bytestreams.
Definition at line 39 of file socks5bytestreamdatahandler.h.
|
|
Virtual destructor. Definition at line 45 of file socks5bytestreamdatahandler.h. |
|
|
Notifies the handler that the given bytestream has been closed.
|
|
||||||||||||
|
Reimplement this function to receive data which is sent over the bytestream. The data received here is (probably) only a single chunk of the complete data (depending on the amount of data you want to send).
|
|
||||||||||||
|
Notifies about an error occuring while using a bytestream. When this handler is called the stream has already been closed.
|
|
|
Notifies the handler that the given bytestream has been acknowledged and is ready to send/receive data.
|
1.4.1