An abstract base class to handle results of outgoing SI requests, i.e. you requested a stream (using SIManager::requestSI()) to send a file to a remote entity. More...
#include <sihandler.h>
Inherited by SIProfileFT.
Public Member Functions | |
virtual | ~SIHandler () |
virtual void | handleSIRequestResult (const JID &from, const JID &to, const std::string &sid, const SIManager::SI &si)=0 |
virtual void | handleSIRequestError (const IQ &iq, const std::string &sid)=0 |
An abstract base class to handle results of outgoing SI requests, i.e. you requested a stream (using SIManager::requestSI()) to send a file to a remote entity.
You should usually not need to use this class directly, unless your profile is not supported by gloox.
Definition at line 35 of file sihandler.h.
virtual ~SIHandler | ( | ) | [inline, virtual] |
Virtual destructor.
Definition at line 42 of file sihandler.h.
virtual void handleSIRequestError | ( | const IQ & | iq, | |
const std::string & | sid | |||
) | [pure virtual] |
This function is called to handle a request error or decline.
iq | The complete error stanza. | |
sid | The request's SID. |
Implemented in SIProfileFT.
virtual void handleSIRequestResult | ( | const JID & | from, | |
const JID & | to, | |||
const std::string & | sid, | |||
const SIManager::SI & | si | |||
) | [pure virtual] |
This function is called to handle results of outgoing SI requests, i.e. you requested a stream (using SIManager::requestSI()) to send a file to a remote entity.
from | The remote SI receiver. | |
to | The SI requestor. Usually oneself. Used in component scenario. | |
sid | The stream ID. | |
si | The request's complete SI. |
Implemented in SIProfileFT.