Inherits Continuation.

| Public Types | |
| enum | { START, DNS_LOOKUP } | 
| Public Member Functions | |
| TestDnsStateMachine (char *ahost, size_t size) | |
| ~TestDnsStateMachine () | |
| const char * | currentStateName () | 
| int | processEvent (int event, void *data) | 
| Data Fields | |
| int | m_state | 
| char | host [100] | 
Definition at line 69 of file TestDNS.cc.
| anonymous enum | 
Definition at line 83 of file TestDNS.cc.
| TestDnsStateMachine::TestDnsStateMachine | ( | char * | ahost, | |
| size_t | size | |||
| ) | 
Definition at line 90 of file TestDNS.cc.
References host, ink_strlcpy(), m_state, processEvent(), and SET_HANDLER.
| TestDnsStateMachine::~TestDnsStateMachine | ( | ) |  [inline] | 
Definition at line 73 of file TestDNS.cc.
| const char * TestDnsStateMachine::currentStateName | ( | ) |  [inline] | 
Definition at line 102 of file TestDNS.cc.
References DNS_LOOKUP, m_state, and START.
| int TestDnsStateMachine::processEvent | ( | int | event, | |
| void * | data | |||
| ) | 
Definition at line 124 of file TestDNS.cc.
References complete(), DNS_EVENT_LOOKUP, DNS_LOOKUP, dnsProcessor, fout, g_host_ip, DNSProcessor::gethostbyname(), host, ink_assert, m_state, and START.
Referenced by TestDnsStateMachine().
| char TestDnsStateMachine::host[100] | 
Definition at line 87 of file TestDNS.cc.
Referenced by processEvent(), and TestDnsStateMachine().
Definition at line 86 of file TestDNS.cc.
Referenced by currentStateName(), processEvent(), and TestDnsStateMachine().
 1.7.1
 1.7.1