webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | List of all members
NatTcpTest Class Reference
Inheritance diagram for NatTcpTest:
testing::Test sigslot::has_slots<> sigslot::has_slots_interface sigslot::has_slots_interface

Public Member Functions

 NatTcpTest ()
 
void OnConnectEvent (AsyncSocket *socket)
 
void OnAcceptEvent (AsyncSocket *socket)
 
void OnCloseEvent (AsyncSocket *socket, int error)
 
void ConnectEvents ()
 
- Public Member Functions inherited from sigslot::has_slots<>
 has_slots ()
 
 has_slots ()
 
 ~has_slots ()
 
 ~has_slots ()
 
- Public Member Functions inherited from sigslot::has_slots_interface
void signal_connect (_signal_base_interface *sender)
 
void signal_disconnect (_signal_base_interface *sender)
 
void disconnect_all ()
 
void signal_connect (_signal_base_interface *sender)
 
void signal_disconnect (_signal_base_interface *sender)
 
void disconnect_all ()
 

Public Attributes

SocketAddress int_addr_
 
SocketAddress ext_addr_
 
bool connected_
 
PhysicalSocketServerint_pss_
 
PhysicalSocketServerext_pss_
 
std::unique_ptr< TestVirtualSocketServer > int_vss_
 
std::unique_ptr< TestVirtualSocketServer > ext_vss_
 
std::unique_ptr< Threadint_thread_
 
std::unique_ptr< Threadext_thread_
 
std::unique_ptr< NATServernat_
 
std::unique_ptr< NATSocketFactorynatsf_
 
std::unique_ptr< AsyncSocketclient_
 
std::unique_ptr< AsyncSocketserver_
 
std::unique_ptr< AsyncSocketaccepted_
 

Additional Inherited Members

- Protected Member Functions inherited from testing::Test
 Test ()
 
virtual void SetUp ()
 
virtual void TearDown ()
 
- Protected Member Functions inherited from sigslot::has_slots_interface
 has_slots_interface (signal_connect_t conn, signal_disconnect_t disc, disconnect_all_t disc_all)
 
virtual ~has_slots_interface ()
 
 has_slots_interface (signal_connect_t conn, signal_disconnect_t disc, disconnect_all_t disc_all)
 
virtual ~has_slots_interface ()
 

Constructor & Destructor Documentation

◆ NatTcpTest()

NatTcpTest::NatTcpTest ( )
inline

Member Function Documentation

◆ ConnectEvents()

void NatTcpTest::ConnectEvents ( )
inline

◆ OnAcceptEvent()

void NatTcpTest::OnAcceptEvent ( AsyncSocket socket)
inline

◆ OnCloseEvent()

void NatTcpTest::OnCloseEvent ( AsyncSocket socket,
int  error 
)
inline

◆ OnConnectEvent()

void NatTcpTest::OnConnectEvent ( AsyncSocket socket)
inline

Member Data Documentation

◆ accepted_

std::unique_ptr<AsyncSocket> NatTcpTest::accepted_

◆ client_

std::unique_ptr<AsyncSocket> NatTcpTest::client_

◆ connected_

bool NatTcpTest::connected_

◆ ext_addr_

SocketAddress NatTcpTest::ext_addr_

◆ ext_pss_

PhysicalSocketServer* NatTcpTest::ext_pss_

◆ ext_thread_

std::unique_ptr<Thread> NatTcpTest::ext_thread_

◆ ext_vss_

std::unique_ptr<TestVirtualSocketServer> NatTcpTest::ext_vss_

◆ int_addr_

SocketAddress NatTcpTest::int_addr_

◆ int_pss_

PhysicalSocketServer* NatTcpTest::int_pss_

◆ int_thread_

std::unique_ptr<Thread> NatTcpTest::int_thread_

◆ int_vss_

std::unique_ptr<TestVirtualSocketServer> NatTcpTest::int_vss_

◆ nat_

std::unique_ptr<NATServer> NatTcpTest::nat_

◆ natsf_

std::unique_ptr<NATSocketFactory> NatTcpTest::natsf_

◆ server_

std::unique_ptr<AsyncSocket> NatTcpTest::server_

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