gloox
1.0.10
Main Page
Related Pages
Namespaces
Classes
Files
File List
src
sihandler.h
1
/*
2
Copyright (c) 2007-2013 by Jakob Schroeter <js@camaya.net>
3
This file is part of the gloox library. http://camaya.net/gloox
4
5
This software is distributed under a license. The full license
6
agreement can be found in the file LICENSE in this distribution.
7
This software may not be copied, modified, sold or distributed
8
other than expressed in the named license agreement.
9
10
This software is distributed without any warranty.
11
*/
12
13
14
#ifndef SIHANDLER_H__
15
#define SIHANDLER_H__
16
17
#include "macros.h"
18
#include "simanager.h"
19
20
#include <string>
21
22
namespace
gloox
23
{
24
25
class
IQ;
26
class
Tag;
27
class
JID;
28
39
class
GLOOX_API
SIHandler
40
{
41
42
public
:
46
virtual
~SIHandler
() {}
47
56
virtual
void
handleSIRequestResult(
const
JID
& from,
const
JID
& to,
const
std::string& sid,
57
const
SIManager::SI& si ) = 0;
58
64
virtual
void
handleSIRequestError(
const
IQ
& iq,
const
std::string& sid ) = 0;
65
66
};
67
68
}
69
70
#endif // SIHANDLER_H__
gloox::SIHandler
An abstract base class to handle results of outgoing SI requests, i.e. you requested a stream (using ...
Definition:
sihandler.h:39
gloox::IQ
An abstraction of an IQ stanza.
Definition:
iq.h:33
gloox::SIHandler::~SIHandler
virtual ~SIHandler()
Definition:
sihandler.h:46
gloox::JID
An abstraction of a JID.
Definition:
jid.h:30
Generated on Mon Jun 9 2014 11:17:31 for gloox by
1.8.7