sipxtacklib
Version 3.3
|
Class for specializing the handling of SIP Events in SipPublishServer. More...
#include <SipPublishServerEventStateCompositor.h>
Public Member Functions | |
SipPublishServerEventStateCompositor () | |
Default Dialog constructor. More... | |
virtual | ~SipPublishServerEventStateCompositor () |
Destructor. More... | |
virtual UtlBoolean | getKeys (const SipMessage &publishRequest, UtlString &resourceId, UtlString &eventTypeKey) |
Determine what the resourceId ad eventTypeKey should be for this PUBLISH request. More... | |
virtual UtlBoolean | isAuthenticated (const SipMessage &publishRequest, const UtlString &resourceId, const UtlString &eventTypeKey, SipMessage &publishResponse) |
Determine if the given PUBLISH request is authenticated. More... | |
virtual UtlBoolean | isAuthorized (const SipMessage &publishRequest, const UtlString &resourceId, const UtlString &eventTypeKey, SipMessage &publishResponse) |
Determine if the given PUBLISH request is authorized. More... | |
Class for specializing the handling of SIP Events in SipPublishServer.
This class provides the default behavior for SIP event packages handled by SipPublishServer. Event packages which wish to change or extend the default behavior should derived from this class and override the behavior of methods implemented by this class.
Default Dialog constructor.
|
virtual |
Destructor.
|
virtual |
Determine what the resourceId ad eventTypeKey should be for this PUBLISH request.
The default behavior is to use the identify from the request URI as the resourceId and the event type token from the Event header as the eventTypeKey. Some event packages may wish to override this (e.g. the host part of the resourceID, which will usually be an IP addressmay make sense in some cases to be substituted with the domain name. In some event packages, the content of the event state information will vary based upon some Event header parameters, in which cases it may make sense to include that event header parameter in a consistant order and format in the eventTypeKey.)
|
virtual |
Determine if the given PUBLISH request is authenticated.
Default behavior is to not require any authentication.
|
virtual |
Determine if the given PUBLISH request is authorized.
Default behavior is to allow any request to subscribe