#include <inbandbytestreamdatahandler.h>
Public Member Functions | |
| virtual | ~InBandBytestreamDataHandler () |
| virtual void | handleInBandData (const std::string &data, const std::string &sid)=0 |
| virtual void | handleInBandError (const std::string &sid, const JID &remote, StanzaError se)=0 |
| virtual void | handleInBandClose (const std::string &sid, const JID &from)=0 |
An InBandBytestreamDataHandler is registered with an InBandBytestream.
See InBandBytestreamManager for a detailed description on how to implement In-Band Bytestreams.
Definition at line 35 of file inbandbytestreamdatahandler.h.
|
|
Virtual destructor. Definition at line 41 of file inbandbytestreamdatahandler.h. |
|
||||||||||||
|
Notifies the handler that the bytestream for the given JID has been closed by the peer.
|
|
||||||||||||
|
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). In any case, its size is at maximum equal to the bytestream's negotiated blocksize.
|
|
||||||||||||||||
|
Notifies about an error occuring while using a bytestream. When this handler is called the stream has already been closed.
|
1.4.1