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

#include <stunclienttests.h>

Inheritance diagram for CStunClientTestBase:
Collaboration diagram for CStunClientTestBase:

Public Member Functions

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

Protected Member Functions

HRESULT StartBindingRequest (CStunMessageBuilder &builder)
 
HRESULT BasicReaderValidation (CRefCountedBuffer &spMsg, CStunMessageReader &reader)
 

Protected Attributes

bool _fInit
 
StunClientLogicConfig_pConfig
 
StunClientResults_pResults
 
bool _fCompleted
 
StunTransactionId _transid
 

Detailed Description

Definition at line 45 of file stunclienttests.h.

Constructor & Destructor Documentation

CStunClientTestBase::CStunClientTestBase ( )

Definition at line 27 of file stunclienttests.cpp.

Member Function Documentation

HRESULT CStunClientTestBase::BasicReaderValidation ( CRefCountedBuffer spMsg,
CStunMessageReader reader 
)
protected

Definition at line 69 of file stunclienttests.cpp.

HRESULT CStunClientTestBase::Init ( StunClientLogicConfig pConfig,
StunClientResults pResults 
)
virtual

Implements IStunClientTest.

Definition at line 37 of file stunclienttests.cpp.

bool CStunClientTestBase::IsCompleted ( )
virtual

Implements IStunClientTest.

Definition at line 99 of file stunclienttests.cpp.

void CStunClientTestBase::PreRunCheck ( )
virtual

Implements IStunClientTest.

Reimplemented in CFilteringTest, and CBehaviorTest.

Definition at line 104 of file stunclienttests.cpp.

HRESULT CStunClientTestBase::StartBindingRequest ( CStunMessageBuilder builder)
protected

Definition at line 54 of file stunclienttests.cpp.

Member Data Documentation

bool CStunClientTestBase::_fCompleted
protected

Definition at line 51 of file stunclienttests.h.

bool CStunClientTestBase::_fInit
protected

Definition at line 48 of file stunclienttests.h.

StunClientLogicConfig* CStunClientTestBase::_pConfig
protected

Definition at line 49 of file stunclienttests.h.

StunClientResults* CStunClientTestBase::_pResults
protected

Definition at line 50 of file stunclienttests.h.

StunTransactionId CStunClientTestBase::_transid
protected

Definition at line 52 of file stunclienttests.h.


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