/[resiprocate]/branches/b-identity-0505/dum/DefaultServerReferHandler.hxx
ViewVC logotype

Annotation of /branches/b-identity-0505/dum/DefaultServerReferHandler.hxx

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4521 - (hide annotations) (download)
Thu May 5 22:20:57 2005 UTC (14 years, 8 months ago) by derek
File size: 3104 byte(s)
branch for identity hacking
1 derek 3101 #if !defined(RESIP_DEFAULTSERVERREFERHANDLER_HXX)
2     #define RESIP__DEFAULTSERVERREFERHANDLER_HXX
3    
4     #include "resiprocate/dum/SubscriptionHandler.hxx"
5    
6     namespace resip
7     {
8    
9     class DefaultServerReferHandler : public ServerSubscriptionHandler
10     {
11     public:
12     virtual void onNewSubscription(ServerSubscriptionHandle, const SipMessage& sub);
13     virtual void onRefresh(ServerSubscriptionHandle, const SipMessage& sub);
14     virtual void onTerminated(ServerSubscriptionHandle);
15    
16     static DefaultServerReferHandler* Instance();
17 derek 3450
18     virtual bool hasDefaultExpires() const;
19     virtual int getDefaultExpires() const;
20 derek 3101 protected:
21     DefaultServerReferHandler() {}
22     virtual ~DefaultServerReferHandler() {}
23     };
24    
25     }
26    
27     #endif
28 jason 4010
29     /* ====================================================================
30     * The Vovida Software License, Version 1.0
31     *
32     * Copyright (c) 2000 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     */

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27