reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
TransactionMessage.hxx
Go to the documentation of this file.
1#ifndef RESIP_TransactionMessage_hxx
2#define RESIP_TransactionMessage_hxx
3
4#include "rutil/ResipAssert.h"
7
8namespace resip
9{
10
12{
13 public:
15
16 virtual const Data& getTransactionId() const=0;
17
18 // indicates this message is associated with a Client Transaction for the
19 // purpose of determining which TransactionMap to use
20 virtual bool isClientTransaction() const = 0;
21
22 virtual Message* clone() const {resip_assert(false); return NULL;}
23};
24
25}
26
27#endif
28
29/* ====================================================================
30 * The Vovida Software License, Version 1.0
31 *
32 * Copyright (c) 2004 Vovida Networks, Inc. All rights reserved.
33 *
34 * Redistribution and use in source and binary forms, with or without
35 * modification, are permitted provided that the following conditions
36 * are met:
37 *
38 * 1. Redistributions of source code must retain the above copyright
39 * notice, this list of conditions and the following disclaimer.
40 *
41 * 2. Redistributions in binary form must reproduce the above copyright
42 * notice, this list of conditions and the following disclaimer in
43 * the documentation and/or other materials provided with the
44 * distribution.
45 *
46 * 3. The names "VOCAL", "Vovida Open Communication Application Library",
47 * and "Vovida Open Communication Application Library (VOCAL)" must
48 * not be used to endorse or promote products derived from this
49 * software without prior written permission. For written
50 * permission, please contact vocal@vovida.org.
51 *
52 * 4. Products derived from this software may not be called "VOCAL", nor
53 * may "VOCAL" appear in their name, without prior written
54 * permission of Vovida Networks, Inc.
55 *
56 * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
57 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
58 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
59 * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL VOVIDA
60 * NETWORKS, INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT DAMAGES
61 * IN EXCESS OF $1,000, NOR FOR ANY INDIRECT, INCIDENTAL, SPECIAL,
62 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
63 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
64 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
65 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
66 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
67 * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
68 * DAMAGE.
69 *
70 * ====================================================================
71 *
72 * This software consists of voluntary contributions made by Vovida
73 * Networks, Inc. and many individuals on behalf of Vovida Networks,
74 * Inc. For more information on Vovida Networks, Inc., please see
75 * <http://www.vovida.org/>.
76 *
77 */
78
#define resip_assert(x)
This file needs to work for both C and C++ code.
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
Definition Data.hxx:90
The base-class used for message-passing.
Definition Message.hxx:21
virtual const Data & getTransactionId() const =0
virtual Message * clone() const
RESIP_HeapCount(TransactionMessage)
virtual bool isClientTransaction() const =0
dcm! – add UnusedChecking(_enum) below;