Stun Server  Compliant with the latest RFCs including 5389, 5769, and 5780
discover the local host's own external IP address
CBehaviorTest Class Reference

#include <stunclienttests.h>

Inheritance diagram for CBehaviorTest:
Collaboration diagram for CBehaviorTest:

Public Member Functions

 CBehaviorTest ()
 
void PreRunCheck ()
 
bool IsReadyToRun ()
 
HRESULT GetMessage (CRefCountedBuffer &spMsg, CSocketAddress *pAddrDest)
 
HRESULT ProcessResponse (CRefCountedBuffer &spMsg, CSocketAddress &addrRemote, CSocketAddress &addrLocal)
 
void NotifyTimeout ()
 
void RunAsTest3 (bool fSetAsTest3)
 
- Public Member Functions inherited from CStunClientTestBase
 CStunClientTestBase ()
 
virtual HRESULT Init (StunClientLogicConfig *pConfig, StunClientResults *pResults)
 
virtual bool IsCompleted ()
 

Protected Attributes

bool _fIsTest3
 
- Protected Attributes inherited from CStunClientTestBase
bool _fInit
 
StunClientLogicConfig_pConfig
 
StunClientResults_pResults
 
bool _fCompleted
 
StunTransactionId _transid
 

Additional Inherited Members

- Protected Member Functions inherited from CStunClientTestBase
HRESULT StartBindingRequest (CStunMessageBuilder &builder)
 
HRESULT BasicReaderValidation (CRefCountedBuffer &spMsg, CStunMessageReader &reader)
 

Detailed Description

Definition at line 78 of file stunclienttests.h.

Constructor & Destructor Documentation

CBehaviorTest::CBehaviorTest ( )

Definition at line 209 of file stunclienttests.cpp.

Member Function Documentation

HRESULT CBehaviorTest::GetMessage ( CRefCountedBuffer spMsg,
CSocketAddress pAddrDest 
)
virtual

Implements IStunClientTest.

Definition at line 244 of file stunclienttests.cpp.

bool CBehaviorTest::IsReadyToRun ( )
virtual

Implements IStunClientTest.

Definition at line 229 of file stunclienttests.cpp.

void CBehaviorTest::NotifyTimeout ( )
virtual

Implements IStunClientTest.

Definition at line 321 of file stunclienttests.cpp.

void CBehaviorTest::PreRunCheck ( )
virtual

Reimplemented from CStunClientTestBase.

Definition at line 214 of file stunclienttests.cpp.

HRESULT CBehaviorTest::ProcessResponse ( CRefCountedBuffer spMsg,
CSocketAddress addrRemote,
CSocketAddress addrLocal 
)
virtual

Implements IStunClientTest.

Definition at line 274 of file stunclienttests.cpp.

void CBehaviorTest::RunAsTest3 ( bool  fSetAsTest3)

Definition at line 328 of file stunclienttests.cpp.

Member Data Documentation

bool CBehaviorTest::_fIsTest3
protected

Definition at line 81 of file stunclienttests.h.


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