|
reSIProcate/stack
9694
|


Public Member Functions | |
| TestDns (DnsStub &stub) | |
| void | thread () |
| TestDns (const DnsStub::NameserverList &additional) | |
| void | thread () |
Public Attributes | |
| DnsStub & | mStub |
Definition at line 264 of file testDns.cxx.
| resip::TestDns::TestDns | ( | DnsStub & | stub | ) | [inline] |
Definition at line 267 of file testDns.cxx.
References TCP, TLS, UDP, V4, and V6.
: DnsInterface(stub), mStub(stub) { addTransportType(TCP, V4); addTransportType(UDP, V4); addTransportType(TLS, V4); #ifdef USE_IPV6 addTransportType(TCP, V6); addTransportType(UDP, V6); addTransportType(TLS, V6); #endif }
| resip::TestDns::TestDns | ( | const DnsStub::NameserverList & | additional | ) | [inline] |
Definition at line 150 of file testDnsStub.cxx.
: DnsStub(additional) { }
| void resip::TestDns::thread | ( | ) | [inline, virtual] |
Implements resip::ThreadIf.
Definition at line 154 of file testDnsStub.cxx.
References resip::FdSet::selectMilliSeconds().
{
while (!waitForShutdown(100))
{
FdSet fdset;
buildFdSet(fdset);
fdset.selectMilliSeconds(1);
process(fdset);
}
}

| void resip::TestDns::thread | ( | ) | [inline, virtual] |
Implements resip::ThreadIf.
Definition at line 279 of file testDns.cxx.
References resip::FdSet::selectMilliSeconds().
{
while (!waitForShutdown(100))
{
FdSet fdset;
mStub.buildFdSet(fdset);
fdset.selectMilliSeconds(mStub.getTimeTillNextProcessMS());
mStub.process(fdset);
}
}

Definition at line 290 of file testDns.cxx.
1.7.5.1