webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
cricket::TurnPortTestVirtualSocketServer Class Reference
Inheritance diagram for cricket::TurnPortTestVirtualSocketServer:
rtc::VirtualSocketServer rtc::SocketServer sigslot::has_slots<> rtc::SocketServer sigslot::has_slots<> sigslot::has_slots_interface sigslot::has_slots_interface rtc::SocketFactory rtc::SocketFactory sigslot::has_slots_interface sigslot::has_slots_interface rtc::SocketFactory rtc::SocketFactory

Public Member Functions

 TurnPortTestVirtualSocketServer (SocketServer *ss)
 
- Public Member Functions inherited from rtc::VirtualSocketServer
 VirtualSocketServer (SocketServer *ss)
 
 ~VirtualSocketServer () override
 
SocketServersocketserver ()
 
IPAddress GetDefaultRoute (int family)
 
void SetDefaultRoute (const IPAddress &from_addr)
 
uint32_t bandwidth () const
 
void set_bandwidth (uint32_t bandwidth)
 
uint32_t network_capacity () const
 
void set_network_capacity (uint32_t capacity)
 
uint32_t send_buffer_capacity () const
 
void set_send_buffer_capacity (uint32_t capacity)
 
uint32_t recv_buffer_capacity () const
 
void set_recv_buffer_capacity (uint32_t capacity)
 
uint32_t delay_mean () const
 
uint32_t delay_stddev () const
 
uint32_t delay_samples () const
 
void set_delay_mean (uint32_t delay_mean)
 
void set_delay_stddev (uint32_t delay_stddev)
 
void set_delay_samples (uint32_t delay_samples)
 
void UpdateDelayDistribution ()
 
double drop_probability ()
 
void set_drop_probability (double drop_prob)
 
void SetSendingBlocked (bool blocked)
 
SocketCreateSocket (int type) override
 
SocketCreateSocket (int family, int type) override
 
AsyncSocketCreateAsyncSocket (int type) override
 
AsyncSocketCreateAsyncSocket (int family, int type) override
 
void SetMessageQueue (MessageQueue *queue) override
 
bool Wait (int cms, bool process_io) override
 
void WakeUp () override
 
void SetDelayOnAddress (const rtc::SocketAddress &address, int delay_ms)
 
bool ProcessMessagesUntilIdle ()
 
void SetNextPortForTesting (uint16_t port)
 
bool CloseTcpConnections (const SocketAddress &addr_local, const SocketAddress &addr_remote)
 
 VirtualSocketServer (SocketServer *ss)
 
 ~VirtualSocketServer () override
 
SocketServersocketserver ()
 
IPAddress GetDefaultRoute (int family)
 
void SetDefaultRoute (const IPAddress &from_addr)
 
uint32_t bandwidth () const
 
void set_bandwidth (uint32_t bandwidth)
 
uint32_t network_capacity () const
 
void set_network_capacity (uint32_t capacity)
 
uint32_t send_buffer_capacity () const
 
void set_send_buffer_capacity (uint32_t capacity)
 
uint32_t recv_buffer_capacity () const
 
void set_recv_buffer_capacity (uint32_t capacity)
 
uint32_t delay_mean () const
 
uint32_t delay_stddev () const
 
uint32_t delay_samples () const
 
void set_delay_mean (uint32_t delay_mean)
 
void set_delay_stddev (uint32_t delay_stddev)
 
void set_delay_samples (uint32_t delay_samples)
 
void UpdateDelayDistribution ()
 
double drop_probability ()
 
void set_drop_probability (double drop_prob)
 
void SetSendingBlocked (bool blocked)
 
SocketCreateSocket (int type) override
 
SocketCreateSocket (int family, int type) override
 
AsyncSocketCreateAsyncSocket (int type) override
 
AsyncSocketCreateAsyncSocket (int family, int type) override
 
void SetMessageQueue (MessageQueue *queue) override
 
bool Wait (int cms, bool process_io) override
 
void WakeUp () override
 
void SetDelayOnAddress (const rtc::SocketAddress &address, int delay_ms)
 
bool ProcessMessagesUntilIdle ()
 
void SetNextPortForTesting (uint16_t port)
 
bool CloseTcpConnections (const SocketAddress &addr_local, const SocketAddress &addr_remote)
 
- Public Member Functions inherited from rtc::SocketServer
void set_network_binder (NetworkBinderInterface *binder)
 
NetworkBinderInterfacenetwork_binder () const
 
void set_network_binder (NetworkBinderInterface *binder)
 
NetworkBinderInterfacenetwork_binder () const
 
- Public Member Functions inherited from rtc::SocketFactory
virtual ~SocketFactory ()
 
virtual ~SocketFactory ()
 
- 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 ()
 

Additional Inherited Members

- Public Types inherited from rtc::VirtualSocketServer
typedef std::pair< double, double > Point
 
typedef std::vector< PointFunction
 
typedef std::pair< double, double > Point
 
typedef std::vector< PointFunction
 
- Static Public Member Functions inherited from rtc::VirtualSocketServer
static FunctionCreateDistribution (uint32_t mean, uint32_t stddev, uint32_t samples)
 
static FunctionCreateDistribution (uint32_t mean, uint32_t stddev, uint32_t samples)
 
- Static Public Member Functions inherited from rtc::SocketServer
static std::unique_ptr< SocketServerCreateDefault ()
 
static std::unique_ptr< SocketServerCreateDefault ()
 
- Public Attributes inherited from rtc::VirtualSocketServer
sigslot::signal1< VirtualSocket * > SignalSocketCreated
 
- Static Public Attributes inherited from rtc::SocketServer
static const int kForever = -1
 
- Protected Member Functions inherited from rtc::VirtualSocketServer
IPAddress GetNextIP (int family)
 
uint16_t GetNextPort ()
 
VirtualSocketCreateSocketInternal (int family, int type)
 
int Bind (VirtualSocket *socket, SocketAddress *addr)
 
int Bind (VirtualSocket *socket, const SocketAddress &addr)
 
VirtualSocketLookupBinding (const SocketAddress &addr)
 
int Unbind (const SocketAddress &addr, VirtualSocket *socket)
 
void AddConnection (const SocketAddress &client, const SocketAddress &server, VirtualSocket *socket)
 
VirtualSocketLookupConnection (const SocketAddress &client, const SocketAddress &server)
 
void RemoveConnection (const SocketAddress &client, const SocketAddress &server)
 
int Connect (VirtualSocket *socket, const SocketAddress &remote_addr, bool use_delay)
 
bool Disconnect (VirtualSocket *socket)
 
int SendUdp (VirtualSocket *socket, const char *data, size_t data_size, const SocketAddress &remote_addr)
 
void SendTcp (VirtualSocket *socket)
 
void AddPacketToNetwork (VirtualSocket *socket, VirtualSocket *recipient, int64_t cur_time, const char *data, size_t data_size, size_t header_size, bool ordered)
 
void PurgeNetworkPackets (VirtualSocket *socket, int64_t cur_time)
 
uint32_t SendDelay (uint32_t size)
 
uint32_t GetTransitDelay (Socket *socket)
 
void OnMessageQueueDestroyed ()
 
IPAddress GetNextIP (int family)
 
uint16_t GetNextPort ()
 
VirtualSocketCreateSocketInternal (int family, int type)
 
int Bind (VirtualSocket *socket, SocketAddress *addr)
 
int Bind (VirtualSocket *socket, const SocketAddress &addr)
 
VirtualSocketLookupBinding (const SocketAddress &addr)
 
int Unbind (const SocketAddress &addr, VirtualSocket *socket)
 
void AddConnection (const SocketAddress &client, const SocketAddress &server, VirtualSocket *socket)
 
VirtualSocketLookupConnection (const SocketAddress &client, const SocketAddress &server)
 
void RemoveConnection (const SocketAddress &client, const SocketAddress &server)
 
int Connect (VirtualSocket *socket, const SocketAddress &remote_addr, bool use_delay)
 
bool Disconnect (VirtualSocket *socket)
 
int SendUdp (VirtualSocket *socket, const char *data, size_t data_size, const SocketAddress &remote_addr)
 
void SendTcp (VirtualSocket *socket)
 
void AddPacketToNetwork (VirtualSocket *socket, VirtualSocket *recipient, int64_t cur_time, const char *data, size_t data_size, size_t header_size, bool ordered)
 
void PurgeNetworkPackets (VirtualSocket *socket, int64_t cur_time)
 
uint32_t SendDelay (uint32_t size)
 
uint32_t GetTransitDelay (Socket *socket)
 
void OnMessageQueueDestroyed ()
 
- 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 ()
 
- Static Protected Member Functions inherited from rtc::VirtualSocketServer
static FunctionAccumulate (Function *f)
 
static FunctionInvert (Function *f)
 
static FunctionResample (Function *f, double x1, double x2, uint32_t samples)
 
static double Evaluate (Function *f, double x)
 
static bool CanInteractWith (VirtualSocket *local, VirtualSocket *remote)
 
static FunctionAccumulate (Function *f)
 
static FunctionInvert (Function *f)
 
static FunctionResample (Function *f, double x1, double x2, uint32_t samples)
 
static double Evaluate (Function *f, double x)
 
static bool CanInteractWith (VirtualSocket *local, VirtualSocket *remote)
 

Constructor & Destructor Documentation

◆ TurnPortTestVirtualSocketServer()

cricket::TurnPortTestVirtualSocketServer::TurnPortTestVirtualSocketServer ( SocketServer *  ss)
inlineexplicit

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