Public Types | Public Member Functions | Data Fields

TestDnsStateMachine Class Reference

Inherits Continuation.

Collaboration diagram for TestDnsStateMachine:
Collaboration graph
[legend]

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]

Detailed Description

Definition at line 69 of file TestDNS.cc.


Member Enumeration Documentation

anonymous enum
Enumerator:
START 
DNS_LOOKUP 

Definition at line 83 of file TestDNS.cc.


Constructor & Destructor Documentation

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.


Member Function Documentation

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 
)

Field Documentation

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().


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