reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
CertSubscriptionHandler.hxx
Go to the documentation of this file.
1
#if !defined(Repro_CertSubscriptionHandler_hxx)
2
#define Repro_CertSubscriptionHandler_hxx
3
4
#include "
resip/dum/ServerPublication.hxx
"
5
#include "
resip/dum/ServerSubscription.hxx
"
6
#include "
resip/dum/SubscriptionHandler.hxx
"
7
8
namespace
resip
9
{
10
class
Security;
11
class
SipMessage;
12
class
SecurityAttributes;
13
class
Data;
14
class
Contents;
15
}
16
17
namespace
repro
18
{
19
20
class
CertSubscriptionHandler
:
public
resip::ServerSubscriptionHandler
21
{
22
public
:
23
CertSubscriptionHandler
(
resip::Security
&
security
);
24
virtual
void
onNewSubscription
(
resip::ServerSubscriptionHandle
h
,
const
resip::SipMessage
&
sub
);
25
virtual
void
onPublished
(
resip::ServerSubscriptionHandle
associated
,
26
resip::ServerPublicationHandle
publication
,
27
const
resip::Contents
* contents,
28
const
resip::SecurityAttributes
*
attrs
);
29
virtual
void
onTerminated
(
resip::ServerSubscriptionHandle
);
30
virtual
void
onError
(
resip::ServerSubscriptionHandle
,
const
resip::SipMessage
& msg);
31
32
private
:
33
resip::Security
& mSecurity;
34
};
35
36
}
37
38
#endif
39
40
/* ====================================================================
41
*
42
* Copyright (c) 2015. All rights reserved.
43
*
44
* Redistribution and use in source and binary forms, with or without
45
* modification, are permitted provided that the following conditions
46
* are met:
47
*
48
* 1. Redistributions of source code must retain the above copyright
49
* notice, this list of conditions and the following disclaimer.
50
*
51
* 2. Redistributions in binary form must reproduce the above copyright
52
* notice, this list of conditions and the following disclaimer in
53
* the documentation and/or other materials provided with the
54
* distribution.
55
*
56
* 3. Neither the name of the author(s) nor the names of any contributors
57
* may be used to endorse or promote products derived from this software
58
* without specific prior written permission.
59
*
60
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTORS "AS IS" AND
61
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
62
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
63
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTORS BE LIABLE
64
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
65
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
66
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
67
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
68
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
69
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
70
* SUCH DAMAGE.
71
*
72
* ====================================================================
73
*
74
*/
75
/*
76
* vi: set shiftwidth=3 expandtab:
77
*/
78
ServerPublication.hxx
ServerSubscription.hxx
SubscriptionHandler.hxx
repro::CertSubscriptionHandler
Definition
CertSubscriptionHandler.hxx:21
repro::CertSubscriptionHandler::onPublished
virtual void onPublished(resip::ServerSubscriptionHandle associated, resip::ServerPublicationHandle publication, const resip::Contents *contents, const resip::SecurityAttributes *attrs)
Definition
CertSubscriptionHandler.cxx:37
repro::CertSubscriptionHandler::onTerminated
virtual void onTerminated(resip::ServerSubscriptionHandle)
Definition
CertSubscriptionHandler.cxx:47
repro::CertSubscriptionHandler::onError
virtual void onError(resip::ServerSubscriptionHandle, const resip::SipMessage &msg)
Definition
CertSubscriptionHandler.cxx:52
repro::CertSubscriptionHandler::onNewSubscription
virtual void onNewSubscription(resip::ServerSubscriptionHandle h, const resip::SipMessage &sub)
Definition
CertSubscriptionHandler.cxx:13
resip::Contents
Base class for all SIP body types.
Definition
Contents.hxx:51
resip::Handle< ServerSubscription >
resip::SecurityAttributes
Definition
SecurityAttributes.hxx:22
resip::Security
Definition
Security.hxx:272
resip::ServerSubscriptionHandler
Definition
SubscriptionHandler.hxx:44
resip::SipMessage
Represents a SIP message.
Definition
SipMessage.hxx:175
repro
This Class is used to implement a primitive form of RPC using loose XML formatting.
Definition
AbstractDb.hxx:16
resip
dcm! – add UnusedChecking(_enum) below;
Definition
AbstractFifo.hxx:16
list
void list()
Definition
userAdmin.cxx:66
repro
stateAgents
CertSubscriptionHandler.hxx
Generated by
1.9.8