31 #ifndef OPAL_SIP_HANDLERS_H
32 #define OPAL_SIP_HANDLERS_H
66 typedef std::map<PString, PSafePtr<SIPHandler> >
IndexMap;
93 virtual Comparison
Compare(
const PObject & other)
const;
267 virtual bool SendNotify(
const PObject * body);
296 const PString & body);
417 PSafePtr<SIPHandler>
FindBy(
IndexMap & by,
const PString & key, PSafetyMode m);
425 #if OPAL_SIP_PRESENCE
429 class SIPPresenceInfo :
public OpalPresenceInfo
431 PCLASSINFO_WITH_CLONE(SIPPresenceInfo, OpalPresenceInfo)
435 PString m_presenceAgent;
438 PString AsXML()
const;
440 static bool ParseNotify(
442 list<SIPPresenceInfo> & info
444 static bool ParseXML(
446 list<SIPPresenceInfo> & info
449 void PrintOn(ostream & strm)
const;
450 friend ostream &
operator<<(ostream & strm,
const SIPPresenceInfo & info) { info.PrintOn(strm);
return strm; }
454 State state = Unchanged
455 ) : OpalPresenceInfo(state) { }
461 const OpalPresenceInfo & info
462 ) : OpalPresenceInfo(info) { }
464 #endif // OPAL_SIP_PRESENCE
522 void PrintOn(ostream & strm)
const;
543 States state = Initial
550 void PrintOn(ostream & strm)
const;
556 #endif // OPAL_SIP_HANDLERS_H