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