sipxtacklib
Version 3.3
|
Helper class for SipPublishContentMgr. More...
#include <SipPublishContentMgr.h>
Public Member Functions | |
virtual void | generateDefaultContent (SipPublishContentMgr *contentMgr, const char *resourceId, const char *eventTypeKey, const char *eventType)=0 |
Generate the content for a resource and event. More... | |
virtual SipPublishContentMgrDefaultConstructor * | copy ()=0 |
Make a copy of this object according to its real type. More... | |
Helper class for SipPublishContentMgr.
Each instance is a device for producing default content for a resource/event-type when generateDefaultContent is set but there is no content for the resource/event-type.
SipPublicContentMgrDefaultConstructor is pure virtual. Instances can only be created of subclasses that provide a getContent() method.
|
pure virtual |
Generate the content for a resource and event.
Called when getContent is called for a resourceId/eventTypeKey that has no published content. generateDefaultContent may set content for that combination, or it can do nothing, which forces getContent to use the default content (if any) for that eventTypeKey. If generateDefaultContent calls contentMgr->publish(), it must provide noNotify = TRUE, because the caller will generate NOTIFYs for this content.
|
pure virtual |
Make a copy of this object according to its real type.