sipxtacklib  Version 3.3
SipPublishServerEventStateCompositor.h
Go to the documentation of this file.
1 //
2 // Copyright (C) 2004-2006 SIPfoundry Inc.
3 // Licensed by SIPfoundry under the LGPL license.
4 //
5 // Copyright (C) 2004-2006 Pingtel Corp. All rights reserved.
6 // Licensed to SIPfoundry under a Contributor Agreement.
7 //
8 // $$
10 
11 #ifndef _SipPublishServerEventStateCompositor_h_
12 #define _SipPublishServerEventStateCompositor_h_
13 
14 // SYSTEM INCLUDES
15 
16 // APPLICATION INCLUDES
17 
18 #include <os/OsDefs.h>
19 #include <os/OsMutex.h>
20 #include <utl/UtlDefs.h>
21 #include <utl/UtlHashMap.h>
22 
23 
24 // DEFINES
25 // MACROS
26 // EXTERNAL FUNCTIONS
27 // EXTERNAL VARIABLES
28 // CONSTANTS
29 // STRUCTS
30 // FORWARD DECLARATIONS
31 class SipMessage;
32 class UtlString;
33 
34 // TYPEDEFS
35 
37 
45 {
46 /* //////////////////////////// PUBLIC //////////////////////////////////// */
47 public:
48 
49 
50 
51 /* ============================ CREATORS ================================== */
52 
55 
56 
58  virtual
60 
61 
62 /* ============================ MANIPULATORS ============================== */
63 
65 
75  virtual UtlBoolean getKeys(const SipMessage& publishRequest,
76  UtlString& resourceId,
77  UtlString& eventTypeKey);
78 
80 
82  virtual UtlBoolean isAuthenticated(const SipMessage& publishRequest,
83  const UtlString& resourceId,
84  const UtlString& eventTypeKey,
85  SipMessage& publishResponse);
86 
88 
90  virtual UtlBoolean isAuthorized(const SipMessage& publishRequest,
91  const UtlString& resourceId,
92  const UtlString& eventTypeKey,
93  SipMessage& publishResponse);
94 
95 
96 /* ============================ ACCESSORS ================================= */
97 
98 
99 /* ============================ INQUIRY =================================== */
100 
101 
102 /* //////////////////////////// PROTECTED ///////////////////////////////// */
103 protected:
104 
105 /* //////////////////////////// PRIVATE /////////////////////////////////// */
106 private:
108  SipPublishServerEventStateCompositor(const SipPublishServerEventStateCompositor& rSipPublishServerEventStateCompositor);
109 
112 
113 
114 };
115 
116 /* ============================ INLINE METHODS ============================ */
117 
118 #endif // _SipPublishServerEventStateCompositor_h_
virtual UtlBoolean isAuthenticated(const SipMessage &publishRequest, const UtlString &resourceId, const UtlString &eventTypeKey, SipMessage &publishResponse)
Determine if the given PUBLISH request is authenticated.
Definition: SipPublishServerEventStateCompositor.cpp:70
Class for specializing the handling of SIP Events in SipPublishServer.
Definition: SipPublishServerEventStateCompositor.h:44
virtual ~SipPublishServerEventStateCompositor()
Destructor.
Definition: SipPublishServerEventStateCompositor.cpp:36
Specialization of HttpMessage to contain and manipulate SIP messages.
Definition: SipMessage.h:343
virtual UtlBoolean isAuthorized(const SipMessage &publishRequest, const UtlString &resourceId, const UtlString &eventTypeKey, SipMessage &publishResponse)
Determine if the given PUBLISH request is authorized.
Definition: SipPublishServerEventStateCompositor.cpp:79
virtual UtlBoolean getKeys(const SipMessage &publishRequest, UtlString &resourceId, UtlString &eventTypeKey)
Determine what the resourceId ad eventTypeKey should be for this PUBLISH request. ...
Definition: SipPublishServerEventStateCompositor.cpp:54
SipPublishServerEventStateCompositor()
Default Dialog constructor.
Definition: SipPublishServerEventStateCompositor.cpp:24

sipXtackLib home page