reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
SubscriptionState.hxx
Go to the documentation of this file.
1
#ifndef RESIP_SubscriptionState_hxx
2
#define RESIP_SubscriptionState_hxx
3
4
namespace
resip
5
{
6
class
Data;
7
8
typedef
enum
9
{
10
Invalid
=0,
11
Init
,
12
Pending
,
13
Active
,
14
Waiting
,
15
Terminated
,
16
Unknown
17
}
SubscriptionState
;
18
19
typedef
enum
20
{
21
//Invalid=0,
22
Deactivated
=0,
23
Probation
,
24
Rejected
,
25
Timeout
,
26
Giveup
,
27
NoResource
,
28
Invariant
29
}
TerminateReason
;
30
31
32
const
Data&
33
getSubscriptionStateString
(
SubscriptionState
state
);
34
35
const
Data&
36
getTerminateReasonString
(
TerminateReason
state
);
37
38
39
}
40
41
#endif
42
43
/* ====================================================================
44
* The Vovida Software License, Version 1.0
45
*
46
* Copyright (c) 2000 Vovida Networks, Inc. All rights reserved.
47
*
48
* Redistribution and use in source and binary forms, with or without
49
* modification, are permitted provided that the following conditions
50
* are met:
51
*
52
* 1. Redistributions of source code must retain the above copyright
53
* notice, this list of conditions and the following disclaimer.
54
*
55
* 2. Redistributions in binary form must reproduce the above copyright
56
* notice, this list of conditions and the following disclaimer in
57
* the documentation and/or other materials provided with the
58
* distribution.
59
*
60
* 3. The names "VOCAL", "Vovida Open Communication Application Library",
61
* and "Vovida Open Communication Application Library (VOCAL)" must
62
* not be used to endorse or promote products derived from this
63
* software without prior written permission. For written
64
* permission, please contact vocal@vovida.org.
65
*
66
* 4. Products derived from this software may not be called "VOCAL", nor
67
* may "VOCAL" appear in their name, without prior written
68
* permission of Vovida Networks, Inc.
69
*
70
* THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
71
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
72
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
73
* NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL VOVIDA
74
* NETWORKS, INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT DAMAGES
75
* IN EXCESS OF $1,000, NOR FOR ANY INDIRECT, INCIDENTAL, SPECIAL,
76
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
77
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
78
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
79
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
80
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
81
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
82
* DAMAGE.
83
*
84
* ====================================================================
85
*
86
* This software consists of voluntary contributions made by Vovida
87
* Networks, Inc. and many individuals on behalf of Vovida Networks,
88
* Inc. For more information on Vovida Networks, Inc., please see
89
* <http://www.vovida.org/>.
90
*
91
*/
resip
dcm! – add UnusedChecking(_enum) below;
Definition
AbstractFifo.hxx:16
resip::getTerminateReasonString
const Data & getTerminateReasonString(TerminateReason state)
Definition
SubscriptionState.cxx:40
resip::TerminateReason
TerminateReason
Definition
SubscriptionState.hxx:20
resip::Rejected
@ Rejected
Definition
SubscriptionState.hxx:24
resip::Deactivated
@ Deactivated
Definition
SubscriptionState.hxx:22
resip::Timeout
@ Timeout
Definition
SubscriptionState.hxx:25
resip::Giveup
@ Giveup
Definition
SubscriptionState.hxx:26
resip::Probation
@ Probation
Definition
SubscriptionState.hxx:23
resip::NoResource
@ NoResource
Definition
SubscriptionState.hxx:27
resip::Invariant
@ Invariant
Definition
SubscriptionState.hxx:28
resip::getSubscriptionStateString
const Data & getSubscriptionStateString(SubscriptionState state)
Definition
SubscriptionState.cxx:30
resip::SubscriptionState
SubscriptionState
Definition
SubscriptionState.hxx:9
resip::Invalid
@ Invalid
Definition
SubscriptionState.hxx:10
resip::Terminated
@ Terminated
Definition
SubscriptionState.hxx:15
resip::Pending
@ Pending
Definition
SubscriptionState.hxx:12
resip::Unknown
@ Unknown
Definition
SubscriptionState.hxx:16
resip::Waiting
@ Waiting
Definition
SubscriptionState.hxx:14
resip::Init
@ Init
Definition
SubscriptionState.hxx:11
resip::Active
@ Active
Definition
SubscriptionState.hxx:13
list
void list()
Definition
userAdmin.cxx:66
resip
dum
SubscriptionState.hxx
Generated by
1.9.8