|
sipxtacklib
Version 3.3
|
Class for maintaining PUBLISH event state information in publish server. More...
#include <SipPublishServerEventStateMgr.h>
Public Member Functions | |
| SipPublishServerEventStateMgr () | |
| Default constructor. More... | |
| virtual | ~SipPublishServerEventStateMgr () |
| Destructor. More... | |
| virtual void | generateETag (UtlString &entity) |
| Generate a new entity tag. More... | |
| void | addPublish (UtlString &entity, UtlString &resourceId, UtlString &eventTypeKey, int expiration) |
| Add a new publication. More... | |
| void | updatePublish (UtlString &oldEntity, UtlString &entity, UtlString &resourceId, UtlString &eventTypeKey, int expiration) |
| Update the publication. More... | |
| void | removePublish (UtlString &entity) |
| Remove old publication. More... | |
| void | removeOldPublication (long oldEpochTimeSeconds) |
| Remove old publication that expired before given date. More... | |
| virtual UtlBoolean | publishExists (UtlString &entityTag) |
| inquire if the publish exists More... | |
| virtual UtlBoolean | isExpired (UtlString &entityTag) |
| inquire if the publish has already expired More... | |
| virtual UtlBoolean | checkExpiration (int *expiration) |
| inquire if the expiration is correct More... | |
Class for maintaining PUBLISH event state information in publish server.
Default constructor.
|
virtual |
Destructor.
|
virtual |
Generate a new entity tag.
| void addPublish | ( | UtlString & | entity, |
| UtlString & | resourceId, | ||
| UtlString & | eventTypeKey, | ||
| int | expiration | ||
| ) |
Add a new publication.
| void updatePublish | ( | UtlString & | oldEntity, |
| UtlString & | entity, | ||
| UtlString & | resourceId, | ||
| UtlString & | eventTypeKey, | ||
| int | expiration | ||
| ) |
Update the publication.
| void removePublish | ( | UtlString & | entity | ) |
Remove old publication.
| void removeOldPublication | ( | long | oldEpochTimeSeconds | ) |
Remove old publication that expired before given date.
|
virtual |
inquire if the publish exists
|
virtual |
inquire if the publish has already expired
|
virtual |
inquire if the expiration is correct