reSIProcate/DialogUsageManager  9694
Public Member Functions | Private Attributes
AddAor Class Reference

#include <RegEventClient.hxx>

Inheritance diagram for AddAor:
Inheritance graph
[legend]
Collaboration diagram for AddAor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AddAor (RegEventClient &client, const resip::Uri &aor)
virtual void executeCommand ()
virtual resip::Messageclone () const
virtual resip::ResipFastOStreamencode (resip::ResipFastOStream &) const
virtual resip::ResipFastOStreamencodeBrief (resip::ResipFastOStream &) const

Private Attributes

RegEventClientmClient
const resip::Uri mAor

Detailed Description

Definition at line 93 of file RegEventClient.hxx.


Constructor & Destructor Documentation

AddAor::AddAor ( RegEventClient client,
const resip::Uri aor 
)

Definition at line 24 of file RegEventClient.cxx.

Referenced by clone().

                                                          : 
   mClient(client),
   mAor(aor)
{
}

Member Function Documentation

resip::Message * AddAor::clone ( ) const [virtual]

Implements resip::Message.

Definition at line 39 of file RegEventClient.cxx.

References AddAor(), mAor, and mClient.

{
   return new AddAor(mClient, mAor);
}

Here is the call graph for this function:

resip::ResipFastOStream & AddAor::encode ( resip::ResipFastOStream strm) const [virtual]

Definition at line 49 of file RegEventClient.cxx.

{
   strm << "Add RegEvent watcher " << mAor;
   return strm;
}
resip::ResipFastOStream & AddAor::encodeBrief ( resip::ResipFastOStream strm) const [virtual]

Definition at line 61 of file RegEventClient.cxx.

{
   return encode(strm);
}
void AddAor::executeCommand ( ) [virtual]

Implements resip::DumCommand.

Definition at line 31 of file RegEventClient.cxx.

References resip::DialogUsageManager::makeSubscription(), mAor, mClient, RegEventClient::mDum, regEvent, resip::DialogUsageManager::send(), and resip::Token::value().

{
   //InfoLog (<< "Execute: " << *this);
   SharedPtr<SipMessage> sub = mClient.mDum.makeSubscription(resip::NameAddr(mAor), regEvent.value());
   mClient.mDum.send(sub);
}

Here is the call graph for this function:


Member Data Documentation

const resip::Uri AddAor::mAor [private]

Definition at line 110 of file RegEventClient.hxx.

Referenced by clone(), and executeCommand().

Definition at line 109 of file RegEventClient.hxx.

Referenced by clone(), and executeCommand().


The documentation for this class was generated from the following files: