reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
Ack200DoneMessage.hxx
Go to the documentation of this file.
1#ifndef RESIP_Ack200DoneMessage_hxx
2#define RESIP_Ack200DoneMessage_hxx
3
4#include "assert.h"
6
7namespace repro
8{
9
11{
12 public:
13 Ack200DoneMessage(const resip::Data& tid) {mTid=tid;}
14 virtual ~Ack200DoneMessage() {}
15
16 virtual const resip::Data& getTransactionId() const { return mTid; }
17 virtual Ack200DoneMessage* clone() const {return new Ack200DoneMessage(mTid);}
18 virtual EncodeStream& encode(EncodeStream& ostr) const { ostr << "Ack200DoneMessage(tid="<<mTid<<")"; return ostr; }
19 virtual EncodeStream& encodeBrief(EncodeStream& ostr) const { return encode(ostr);}
20 private:
21 resip::Data mTid;
22};
23
24}
25
26#endif
27/* ====================================================================
28 * The Vovida Software License, Version 1.0
29 *
30 * Redistribution and use in source and binary forms, with or without
31 * modification, are permitted provided that the following conditions
32 * are met:
33 *
34 * 1. Redistributions of source code must retain the above copyright
35 * notice, this list of conditions and the following disclaimer.
36 *
37 * 2. Redistributions in binary form must reproduce the above copyright
38 * notice, this list of conditions and the following disclaimer in
39 * the documentation and/or other materials provided with the
40 * distribution.
41 *
42 * 3. The names "VOCAL", "Vovida Open Communication Application Library",
43 * and "Vovida Open Communication Application Library (VOCAL)" must
44 * not be used to endorse or promote products derived from this
45 * software without prior written permission. For written
46 * permission, please contact vocal@vovida.org.
47 *
48 * 4. Products derived from this software may not be called "VOCAL", nor
49 * may "VOCAL" appear in their name, without prior written
50 * permission of Vovida Networks, Inc.
51 *
52 * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
53 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
54 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
55 * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL VOVIDA
56 * NETWORKS, INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT DAMAGES
57 * IN EXCESS OF $1,000, NOR FOR ANY INDIRECT, INCIDENTAL, SPECIAL,
58 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
59 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
60 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
61 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
62 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
63 * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
64 * DAMAGE.
65 *
66 * ====================================================================
67 *
68 * This software consists of voluntary contributions made by Vovida
69 * Networks, Inc. and many individuals on behalf of Vovida Networks,
70 * Inc. For more information on Vovida Networks, Inc., please see
71 * <http://www.vovida.org/>.
72 *
73 */
virtual Ack200DoneMessage * clone() const
virtual EncodeStream & encodeBrief(EncodeStream &ostr) const
output a brief description to stream
Ack200DoneMessage(const resip::Data &tid)
virtual EncodeStream & encode(EncodeStream &ostr) const
output the entire message to stream
virtual const resip::Data & getTransactionId() const
A base-class for messages used by applications.
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
Definition Data.hxx:90
This Class is used to implement a primitive form of RPC using loose XML formatting.
#define EncodeStream
void list()
Definition userAdmin.cxx:66