1#if !defined(RESIP_REGISTRAR_HXX)
2#define RESIP_REGISTRAR_HXX
57 std::list<RegistrarHandler*> mRegistrarHandlers;
virtual bool onAdd(resip::ServerRegistrationHandle, const resip::SipMessage ®)=0
Called when one or more contacts are added.
virtual bool onRemoveAll(resip::ServerRegistrationHandle, const resip::SipMessage ®)=0
Called when all the contacts are removed using "Contact: *".
virtual bool onRefresh(resip::ServerRegistrationHandle, const resip::SipMessage ®)=0
Note: These very closely mimic the ServerRegistrationHandler callbacks.
virtual bool onRemove(resip::ServerRegistrationHandle, const resip::SipMessage ®)=0
called when one or more specified contacts is removed
virtual bool onQuery(resip::ServerRegistrationHandle, const resip::SipMessage ®)=0
Called when a client queries for the list of current registrations.
virtual ~RegistrarHandler()
virtual void onRemove(resip::ServerRegistrationHandle, const resip::SipMessage ®)
called when one or more specified contacts is removed
virtual void onQuery(resip::ServerRegistrationHandle, const resip::SipMessage ®)
Called when a client queries for the list of current registrations.
virtual void onRefresh(resip::ServerRegistrationHandle, const resip::SipMessage ®)
Called when registration is refreshed.
virtual void onRemoveAll(resip::ServerRegistrationHandle, const resip::SipMessage ®)
Called when all the contacts are removed using "Contact: *".
void setProxy(Proxy *proxy)
virtual void addRegistrarHandler(RegistrarHandler *handler)
virtual void onAdd(resip::ServerRegistrationHandle, const resip::SipMessage ®)
Called when one or more contacts are added.
Represents a SIP message.
This Class is used to implement a primitive form of RPC using loose XML formatting.