~ubuntu-branches/ubuntu/saucy/resiprocate/saucy-proposed

« back to all changes in this revision

Viewing changes to repro/monkeys/IsTrustedNode.hxx

  • Committer: Package Import Robot
  • Author(s): Daniel Pocock
  • Date: 2012-05-17 19:29:59 UTC
  • Revision ID: package-import@ubuntu.com-20120517192959-vv00m77isztdy64q
Tags: upstream-1.8.2
ImportĀ upstreamĀ versionĀ 1.8.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#if !defined(RESIP_ISTRUSTEDNODE_REQUEST_PROCESSOR_HXX)
 
2
#define RESIP_ISTRUSTEDNODE_REQUEST_PROCESSOR_HXX 
 
3
#include "repro/Processor.hxx"
 
4
#include "rutil/KeyValueStore.hxx"
 
5
 
 
6
#include <iosfwd>
 
7
 
 
8
namespace repro
 
9
{
 
10
  class AclStore;
 
11
  class ProxyConfig;
 
12
 
 
13
  class IsTrustedNode: public Processor
 
14
  {
 
15
    public:
 
16
      static resip::KeyValueStore::Key mFromTrustedNodeKey;
 
17
 
 
18
       IsTrustedNode(ProxyConfig& config);
 
19
      virtual ~IsTrustedNode();
 
20
 
 
21
      virtual processor_action_t process(RequestContext &);
 
22
 
 
23
  private:
 
24
       AclStore& mAclStore;
 
25
  };
 
26
}
 
27
#endif
 
28
 
 
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
 */