/[resiprocate]/main/resip/dum/ClientOutOfDialogReq.hxx
ViewVC logotype

Contents of /main/resip/dum/ClientOutOfDialogReq.hxx

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9207 - (show annotations) (download)
Tue Jun 28 19:58:49 2011 UTC (8 years, 4 months ago) by arosenberg
File MIME type: text/plain
File size: 3427 byte(s)
Add a getRequest() method to ClientOutOfDialogReq so that the request for the response can be accessed. 
1 #if !defined(RESIP_CLIENTOUTOFDIALOGREQ_HXX)
2 #define RESIP_CLIENTOUTOFDIALOGREQ_HXX
3
4 #include "resip/dum/NonDialogUsage.hxx"
5 #include "resip/stack/CSeqCategory.hxx"
6 #include "resip/stack/SipMessage.hxx"
7
8 namespace resip
9 {
10 class SipMessage;
11
12 class ClientOutOfDialogReq : public NonDialogUsage
13 {
14 public:
15 ClientOutOfDialogReq(DialogUsageManager& dum, DialogSet& dialogSet, const SipMessage& req);
16 ClientOutOfDialogReqHandle getHandle();
17
18 bool matches(const SipMessage& msg) const;
19 const SipMessage& getRequest() const;
20
21 virtual void end();
22 virtual void dispatch(const SipMessage& msg);
23 virtual void dispatch(const DumTimeout& timer);
24
25 virtual EncodeStream& dump(EncodeStream& strm) const;
26
27 protected:
28 virtual ~ClientOutOfDialogReq();
29
30 private:
31 friend class DialogSet;
32 CSeqCategory mCSeq;
33 SipMessage mRequest;
34
35 // disabled
36 ClientOutOfDialogReq(const ClientOutOfDialogReq&);
37 ClientOutOfDialogReq& operator=(const ClientOutOfDialogReq&);
38
39 };
40
41 }
42
43 #endif
44
45 /* ====================================================================
46 * The Vovida Software License, Version 1.0
47 *
48 * Copyright (c) 2000 Vovida Networks, Inc. All rights reserved.
49 *
50 * Redistribution and use in source and binary forms, with or without
51 * modification, are permitted provided that the following conditions
52 * are met:
53 *
54 * 1. Redistributions of source code must retain the above copyright
55 * notice, this list of conditions and the following disclaimer.
56 *
57 * 2. Redistributions in binary form must reproduce the above copyright
58 * notice, this list of conditions and the following disclaimer in
59 * the documentation and/or other materials provided with the
60
61 * distribution.
62 *
63 * 3. The names "VOCAL", "Vovida Open Communication Application Library",
64 * and "Vovida Open Communication Application Library (VOCAL)" must
65 * not be used to endorse or promote products derived from this
66 * software without prior written permission. For written
67 * permission, please contact vocal@vovida.org.
68 *
69 * 4. Products derived from this software may not be called "VOCAL", nor
70 * may "VOCAL" appear in their name, without prior written
71 * permission of Vovida Networks, Inc.
72 *
73 * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
74 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
75 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
76 * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL VOVIDA
77 * NETWORKS, INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT DAMAGES
78 * IN EXCESS OF $1,000, NOR FOR ANY INDIRECT, INCIDENTAL, SPECIAL,
79 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
80 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
81 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
82 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
83 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
84 * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
85 * DAMAGE.
86 *
87 * ====================================================================
88 *
89 * This software consists of voluntary contributions made by Vovida
90 * Networks, Inc. and many individuals on behalf of Vovida Networks,
91 * Inc. For more information on Vovida Networks, Inc., please see
92 * <http://www.vovida.org/>.
93 *
94 */

Properties

Name Value
svn:eol-style native
svn:mime-type text/plain

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27