#include <sihandler.h>

Public Member Functions | |
| virtual | ~SIHandler () |
| virtual void | handleSIRequestResult (const JID &from, const std::string &sid, Tag *si, Tag *ptag, Tag *fneg)=0 |
| virtual void | handleSIRequestError (Stanza *stanza, const std::string &sid)=0 |
You should usually not need to use this class directly, unless your profile is not supported by gloox.
Definition at line 36 of file sihandler.h.
| virtual ~SIHandler | ( | ) | [inline, virtual] |
Virtual destructor.
Definition at line 43 of file sihandler.h.
| virtual void handleSIRequestResult | ( | const JID & | from, | |
| const std::string & | sid, | |||
| Tag * | si, | |||
| Tag * | ptag, | |||
| Tag * | fneg | |||
| ) | [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 SI receiver. | |
| sid | The stream ID. | |
| si | The request's complete <si/> Tag. | |
| ptag | The profile-specific child of the SI request. May be 0. | |
| fneg | The <feature/> child of the SI request. May be 0 (but should not be). |
Implemented in SIProfileFT.
| virtual void handleSIRequestError | ( | Stanza * | stanza, | |
| const std::string & | sid | |||
| ) | [pure virtual] |
This function is called to handle a request error or decline.
| stanza | The complete error stanza. | |
| sid | The request's SID. |
Implemented in SIProfileFT.
1.5.5