Stun Server
Compliant with the latest RFCs including 5389, 5769, and 5780
discover the local host's own external IP address
|
#include <testclientlogic.h>
Public Member Functions | |
CTestClientLogic () | |
~CTestClientLogic () | |
HRESULT | Run () |
UT_DECLARE_TEST_NAME ("CTestClientLogic") | |
Public Member Functions inherited from IUnitTest | |
virtual | ~IUnitTest () |
virtual const char * | GetName ()=0 |
Private Member Functions | |
HRESULT | ValidateBindingRequest (CRefCountedBuffer &spMsg, StunTransactionId *pTransId) |
HRESULT | GenerateBindingResponseMessage (const CSocketAddress &addrMapped, const StunTransactionId &transid, CRefCountedBuffer &spMsg) |
HRESULT | Test1 () |
HRESULT | TestBehaviorAndFiltering (bool fBehaviorTest, NatBehavior behavior, bool fFilteringTest, NatFiltering filtering) |
HRESULT | CommonInit (NatBehavior behavior, NatFiltering filtering) |
HRESULT | GetMappedAddressForDestinationAddress (const CSocketAddress &addrDest, CSocketAddress *pAddrMapped) |
SocketRole | GetSocketRoleForDestinationAddress (const CSocketAddress &addrDest) |
Definition at line 27 of file testclientlogic.h.
|
inline |
Definition at line 69 of file testclientlogic.h.
|
inline |
Definition at line 70 of file testclientlogic.h.
|
private |
Definition at line 147 of file testclientlogic.cpp.
|
private |
Definition at line 80 of file testclientlogic.cpp.
|
private |
Definition at line 95 of file testclientlogic.cpp.
|
private |
Definition at line 123 of file testclientlogic.cpp.
|
virtual |
Implements IUnitTest.
Definition at line 28 of file testclientlogic.cpp.
|
private |
Definition at line 396 of file testclientlogic.cpp.
|
private |
Definition at line 249 of file testclientlogic.cpp.
CTestClientLogic::UT_DECLARE_TEST_NAME | ( | "CTestClientLogic" | ) |
|
private |
Definition at line 61 of file testclientlogic.cpp.
|
private |
Definition at line 36 of file testclientlogic.h.
|
private |
Definition at line 41 of file testclientlogic.h.
|
private |
Definition at line 40 of file testclientlogic.h.
|
private |
Definition at line 39 of file testclientlogic.h.
|
private |
Definition at line 38 of file testclientlogic.h.
|
private |
Definition at line 34 of file testclientlogic.h.
|
private |
Definition at line 33 of file testclientlogic.h.
|
private |
Definition at line 32 of file testclientlogic.h.
|
private |
Definition at line 31 of file testclientlogic.h.
|
private |
Definition at line 43 of file testclientlogic.h.
|
private |
Definition at line 44 of file testclientlogic.h.
|
private |
Definition at line 49 of file testclientlogic.h.
|
private |
Definition at line 46 of file testclientlogic.h.