|
reSIProcate/stack
9694
|


Public Member Functions | |
| TestMarkListener (const resip::Tuple &listenFor) | |
| virtual | ~TestMarkListener () |
| virtual void | onMark (const Tuple &tuple, UInt64 &expiry, TupleMarkManager::MarkType &mark) |
| bool | gotOkCallback () const |
| bool | gotGreylistCallback () const |
| bool | gotBlacklistCallback () const |
| void | resetAll () |
Private Attributes | |
| Tuple | mTuple |
| bool | mGotOkCallback |
| bool | mGotGreylistCallback |
| bool | mGotBlacklistCallback |
Definition at line 214 of file testDns.cxx.
| resip::TestMarkListener::TestMarkListener | ( | const resip::Tuple & | listenFor | ) | [inline] |
Definition at line 217 of file testDns.cxx.
: mTuple(listenFor), mGotOkCallback(false), mGotGreylistCallback(false), mGotBlacklistCallback(false) {}
| virtual resip::TestMarkListener::~TestMarkListener | ( | ) | [inline, virtual] |
Definition at line 223 of file testDns.cxx.
{}
| bool resip::TestMarkListener::gotBlacklistCallback | ( | ) | const [inline] |
| bool resip::TestMarkListener::gotGreylistCallback | ( | ) | const [inline] |
| bool resip::TestMarkListener::gotOkCallback | ( | ) | const [inline] |
| virtual void resip::TestMarkListener::onMark | ( | const Tuple & | tuple, |
| UInt64 & | expiry, | ||
| TupleMarkManager::MarkType & | mark | ||
| ) | [inline, virtual] |
Implements resip::MarkListener.
Definition at line 225 of file testDns.cxx.
{
if(mTuple == tuple)
{
switch(mark)
{
case TupleMarkManager::OK:
mGotOkCallback=true;
break;
case TupleMarkManager::GREY:
mGotGreylistCallback=true;
break;
case TupleMarkManager::BLACK:
mGotBlacklistCallback=true;
break;
default:
;
}
}
}
| void resip::TestMarkListener::resetAll | ( | ) | [inline] |
Definition at line 250 of file testDns.cxx.
Referenced by main().
{
mGotOkCallback=false;
mGotGreylistCallback=false;
mGotBlacklistCallback=false;
}
bool resip::TestMarkListener::mGotBlacklistCallback [private] |
Definition at line 260 of file testDns.cxx.
bool resip::TestMarkListener::mGotGreylistCallback [private] |
Definition at line 259 of file testDns.cxx.
bool resip::TestMarkListener::mGotOkCallback [private] |
Definition at line 258 of file testDns.cxx.
Tuple resip::TestMarkListener::mTuple [private] |
Definition at line 257 of file testDns.cxx.
1.7.5.1