#include <bytestreamdatahandler.h>
Public Member Functions | |
| virtual | ~BytestreamDataHandler () |
| virtual void | handleBytestreamData (Bytestream *bs, const std::string &data)=0 |
| virtual void | handleBytestreamError (Bytestream *bs, const IQ &iq)=0 |
| virtual void | handleBytestreamOpen (Bytestream *bs)=0 |
| virtual void | handleBytestreamClose (Bytestream *bs)=0 |
An BytestreamDataHandler is registered with a Bytestream.
See SIProfileFT for more information regarding file transfer.
Definition at line 39 of file bytestreamdatahandler.h.
|
|
Virtual destructor. Definition at line 45 of file bytestreamdatahandler.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