|
reSIProcate/stack
9694
|
The base-class used for message-passing. More...
#include <Message.hxx>


Classes | |
| class | Brief |
| facet for brief output to streams More... | |
Public Member Functions | |
| Message () | |
| virtual | ~Message () |
| Brief | brief () const |
| return a facet for brief encoding of message | |
| virtual Message * | clone () const =0 |
| virtual EncodeStream & | encode (EncodeStream &strm) const =0 |
| output the entire message to stream | |
| virtual EncodeStream & | encodeBrief (EncodeStream &str) const =0 |
| output a brief description to stream | |
Protected Member Functions | |
| bool | hasTransactionUser () const |
| void | setTransactionUser (TransactionUser *t) |
| TransactionUser * | getTransactionUser () |
Protected Attributes | |
| TransactionUser * | mTu |
Friends | |
| class | TuSelector |
| class | TransactionController |
| class | TransactionState |
| class | SipStack |
The base-class used for message-passing.
Definition at line 20 of file Message.hxx.
| Message::Message | ( | ) |
Definition at line 12 of file Message.cxx.
: mTu(0) {}
| virtual resip::Message::~Message | ( | ) | [inline, virtual] |
Definition at line 24 of file Message.hxx.
{}
| Message::Brief Message::brief | ( | ) | const |
return a facet for brief encoding of message
Definition at line 16 of file Message.cxx.
Referenced by resip::BaseTimeLimitTimerQueue::add(), resip::TuSelectorTimerQueue::add(), resip::Transport::basicCheck(), resip::ShutdownMessage::encode(), resip::TransactionUserMessage::encode(), resip::TransactionUser::isForMe(), main(), resip::Helper::makeResponse(), resip::StatelessHandler::process(), resip::TransactionState::process(), Client::process(), resip::TransactionState::processClientInvite(), resip::TransactionState::processClientNonInvite(), resip::TransactionState::processClientStale(), resip::TransactionState::processServerInvite(), resip::TransactionState::processServerNonInvite(), resip::TransactionState::processServerStale(), resip::TransactionState::processSipMessageAsNew(), resip::TransactionState::processStateless(), resip::TransactionState::processTimer(), resip::SipStack::receive(), resip::SipStack::receiveAny(), resip::SipStack::send(), Client::thread(), and Server::thread().
{
return Message::Brief(*this);
}
| virtual Message* resip::Message::clone | ( | ) | const [pure virtual] |
Implemented in resip::SipMessage, resip::StatisticsMessage, AppMessage, resip::AbandonServerTransaction, resip::CancelClientInviteTransaction, resip::EnableFlowTimer, resip::TerminateFlow, resip::DnsResultMessage, resip::PollStatistics, resip::ZeroOutStatistics, resip::TransactionUserMessage, resip::ConnectionTerminated, resip::KeepAlivePong, resip::TransactionMessage, resip::KeepAliveMessage, and resip::ShutdownMessage.
Referenced by resip::SipStack::post(), and resip::SipStack::postMS().
| virtual EncodeStream& resip::Message::encode | ( | EncodeStream & | strm | ) | const [pure virtual] |
output the entire message to stream
Implemented in resip::SipMessage, resip::StatisticsMessage, resip::TransportFailure, AppMessage, resip::DnsResultMessage, resip::SipRawMessage, resip::TransactionUserMessage, resip::TimerMessage, resip::AbandonServerTransaction, resip::TransactionTerminated, resip::ConnectionTerminated, resip::KeepAlivePong, resip::CancelClientInviteTransaction, resip::EnableFlowTimer, resip::TerminateFlow, resip::KeepAliveMessage, resip::PollStatistics, resip::ZeroOutStatistics, and resip::ShutdownMessage.
| virtual EncodeStream& resip::Message::encodeBrief | ( | EncodeStream & | str | ) | const [pure virtual] |
output a brief description to stream
Implemented in resip::SipMessage, resip::StatisticsMessage, resip::TransportFailure, resip::DnsResultMessage, AppMessage, resip::AbandonServerTransaction, resip::TransactionUserMessage, resip::CancelClientInviteTransaction, resip::EnableFlowTimer, resip::TerminateFlow, resip::TimerMessage, resip::TransactionTerminated, resip::ConnectionTerminated, resip::KeepAlivePong, resip::PollStatistics, resip::ZeroOutStatistics, and resip::ShutdownMessage.
| TransactionUser* resip::Message::getTransactionUser | ( | ) | [inline, protected] |
Definition at line 49 of file Message.hxx.
References mTu.
Referenced by resip::TuSelector::add(), resip::TuSelector::process(), resip::TransactionState::processSipMessageAsNew(), and resip::TransactionController::send().
{ return mTu; }
| bool resip::Message::hasTransactionUser | ( | ) | const [inline, protected] |
Definition at line 47 of file Message.hxx.
References mTu.
Referenced by resip::TuSelector::add(), and resip::TransactionState::process().
{ return mTu != 0; }
| void resip::Message::setTransactionUser | ( | TransactionUser * | t | ) | [inline, protected] |
Definition at line 48 of file Message.hxx.
References mTu.
Referenced by resip::SipStack::postMS(), resip::TransactionController::send(), resip::SipStack::send(), resip::SipStack::sendTo(), resip::TransactionState::sendToTU(), and resip::TransactionTerminated::TransactionTerminated().
{ mTu = t; }
friend class SipStack [friend] |
Definition at line 46 of file Message.hxx.
friend class TransactionController [friend] |
Definition at line 44 of file Message.hxx.
friend class TransactionState [friend] |
Definition at line 45 of file Message.hxx.
friend class TuSelector [friend] |
Definition at line 43 of file Message.hxx.
TransactionUser* resip::Message::mTu [protected] |
Definition at line 50 of file Message.hxx.
Referenced by resip::TransactionUserMessage::clone(), getTransactionUser(), hasTransactionUser(), setTransactionUser(), and resip::TransactionUserMessage::TransactionUserMessage().
1.7.5.1