reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
DumTimeout.hxx
Go to the documentation of this file.
1#if !defined(RESIP_DUMTIMER_HXX)
2#define RESIP_DUMTIMER_HXX
3
4#include <iosfwd>
7
8namespace resip
9{
10
12{
13 public:
37 static const unsigned long StaleCallTimeout;
38
40 unsigned long duration,
41 BaseUsageHandle target,
42 unsigned int seq,
43 unsigned int aseq = 0,
45 DumTimeout(const DumTimeout&);
47
48 Message* clone() const;
49
50 Type type() const;
51 unsigned long duration() const;
52 unsigned int seq() const;
53 unsigned int secondarySeq() const;
54 const Data & transactionId() const;
55
57
58 virtual bool isClientTransaction() const;
59
60 virtual EncodeStream& encode(EncodeStream& strm) const;
61 virtual EncodeStream& encodeBrief(EncodeStream& strm) const;
62
63 private:
64 Type mType;
65 unsigned long mDuration;
66 BaseUsageHandle mUsageHandle;
67 unsigned int mSeq;
68 unsigned int mSecondarySeq;
69 Data mTransactionId;
70};
71
72}
73
74#endif
75
76/* ====================================================================
77 * The Vovida Software License, Version 1.0
78 *
79 * Copyright (c) 2026 SIP Spectrum, Inc. https://www.sipspectrum.com
80 * Copyright (c) 2000 Vovida Networks, Inc. All rights reserved.
81 *
82 * Redistribution and use in source and binary forms, with or without
83 * modification, are permitted provided that the following conditions
84 * are met:
85 *
86 * 1. Redistributions of source code must retain the above copyright
87 * notice, this list of conditions and the following disclaimer.
88 *
89 * 2. Redistributions in binary form must reproduce the above copyright
90 * notice, this list of conditions and the following disclaimer in
91 * the documentation and/or other materials provided with the
92 * distribution.
93 *
94 * 3. The names "VOCAL", "Vovida Open Communication Application Library",
95 * and "Vovida Open Communication Application Library (VOCAL)" must
96 * not be used to endorse or promote products derived from this
97 * software without prior written permission. For written
98 * permission, please contact vocal@vovida.org.
99 *
100 * 4. Products derived from this software may not be called "VOCAL", nor
101 * may "VOCAL" appear in their name, without prior written
102 * permission of Vovida Networks, Inc.
103 *
104 * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
105 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
106 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
107 * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL VOVIDA
108 * NETWORKS, INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT DAMAGES
109 * IN EXCESS OF $1,000, NOR FOR ANY INDIRECT, INCIDENTAL, SPECIAL,
110 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
111 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
112 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
113 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
114 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
115 * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
116 * DAMAGE.
117 *
118 * ====================================================================
119 *
120 * This software consists of voluntary contributions made by Vovida
121 * Networks, Inc. and many individuals on behalf of Vovida Networks,
122 * Inc. For more information on Vovida Networks, Inc., please see
123 * <http://www.vovida.org/>.
124 *
125 */
A base-class for messages used by applications.
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
Definition Data.hxx:90
static const Data Empty
Constant that represents a zero-length data.
Definition Data.hxx:882
Type type() const
virtual EncodeStream & encodeBrief(EncodeStream &strm) const
output a brief description to stream
BaseUsageHandle getBaseUsage() const
virtual bool isClientTransaction() const
const Data & transactionId() const
unsigned long duration() const
virtual EncodeStream & encode(EncodeStream &strm) const
output the entire message to stream
unsigned int seq() const
Message * clone() const
unsigned int secondarySeq() const
static const unsigned long StaleCallTimeout
The base-class used for message-passing.
Definition Message.hxx:21
dcm! – add UnusedChecking(_enum) below;
#define EncodeStream