1#if !defined(RESIP_SERVERPUBLICATION_HXX)
2#define RESIP_SERVERPUBLICATION_HXX
23 std::shared_ptr<SipMessage>
accept(
int statusCode = 200);
24 std::shared_ptr<SipMessage>
reject(
int responseCode);
31 void send(std::shared_ptr<SipMessage> response);
44 std::shared_ptr<SipMessage> mLastResponse;
46 const Data mEventType;
47 const Data mDocumentKey;
49 unsigned int mTimerSeq;
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
std::shared_ptr< SipMessage > accept(int statusCode=200)
virtual ~ServerPublication()
std::shared_ptr< SipMessage > reject(int responseCode)
virtual EncodeStream & dump(EncodeStream &strm) const
virtual void dispatch(const SipMessage &msg)
const Data & getEventType() const
const Data & getEtag() const
Data getPublisher() const
void send(std::shared_ptr< SipMessage > response)
Handle< ServerPublication > ServerPublicationHandle
ServerPublicationHandle getHandle()
const Data & getDocumentKey() const
void updateMatchingSubscriptions()
Represents a SIP message.
dcm! – add UnusedChecking(_enum) below;