webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | List of all members
cricket::AllocationSequence Class Reference

#include <basicportallocator.h>

Inheritance diagram for cricket::AllocationSequence:
rtc::MessageHandler sigslot::has_slots<> rtc::MessageHandler sigslot::has_slots<> sigslot::has_slots_interface sigslot::has_slots_interface sigslot::has_slots_interface sigslot::has_slots_interface

Public Types

enum  State {
  kInit, kRunning, kStopped, kCompleted,
  kInit, kRunning, kStopped, kCompleted
}
 
enum  State {
  kInit, kRunning, kStopped, kCompleted,
  kInit, kRunning, kStopped, kCompleted
}
 

Public Member Functions

 AllocationSequence (BasicPortAllocatorSession *session, rtc::Network *network, PortConfiguration *config, uint32_t flags)
 
 ~AllocationSequence ()
 
void Init ()
 
void Clear ()
 
void OnNetworkFailed ()
 
State state () const
 
rtc::Networknetwork () const
 
bool network_failed () const
 
void set_network_failed ()
 
void DisableEquivalentPhases (rtc::Network *network, PortConfiguration *config, uint32_t *flags)
 
void Start ()
 
void Stop ()
 
void OnMessage (rtc::Message *msg)
 
void EnableProtocol (ProtocolType proto)
 
bool ProtocolEnabled (ProtocolType proto) const
 
 AllocationSequence (BasicPortAllocatorSession *session, rtc::Network *network, PortConfiguration *config, uint32_t flags)
 
 ~AllocationSequence ()
 
void Init ()
 
void Clear ()
 
void OnNetworkFailed ()
 
State state () const
 
rtc::Networknetwork () const
 
bool network_failed () const
 
void set_network_failed ()
 
void DisableEquivalentPhases (rtc::Network *network, PortConfiguration *config, uint32_t *flags)
 
void Start ()
 
void Stop ()
 
void OnMessage (rtc::Message *msg)
 
void EnableProtocol (ProtocolType proto)
 
bool ProtocolEnabled (ProtocolType proto) const
 
- Public Member Functions inherited from rtc::MessageHandler
virtual WEBRTC_DYLIB_EXPORT ~MessageHandler ()
 
virtual WEBRTC_DYLIB_EXPORT ~MessageHandler ()
 
- 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

sigslot::signal1< AllocationSequence * > SignalPortAllocationComplete
 

Protected Member Functions

void CreateTurnPort (const RelayServerConfig &config)
 
void CreateTurnPort (const RelayServerConfig &config)
 
- Protected Member Functions inherited from rtc::MessageHandler
 MessageHandler ()
 
 MessageHandler ()
 
- 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 ()
 

Member Enumeration Documentation

◆ State [1/2]

Enumerator
kInit 
kRunning 
kStopped 
kCompleted 
kInit 
kRunning 
kStopped 
kCompleted 

◆ State [2/2]

Enumerator
kInit 
kRunning 
kStopped 
kCompleted 
kInit 
kRunning 
kStopped 
kCompleted 

Constructor & Destructor Documentation

◆ AllocationSequence() [1/2]

cricket::AllocationSequence::AllocationSequence ( BasicPortAllocatorSession session,
rtc::Network network,
PortConfiguration config,
uint32_t  flags 
)

◆ ~AllocationSequence() [1/2]

cricket::AllocationSequence::~AllocationSequence ( )

◆ AllocationSequence() [2/2]

cricket::AllocationSequence::AllocationSequence ( BasicPortAllocatorSession session,
rtc::Network network,
PortConfiguration config,
uint32_t  flags 
)

◆ ~AllocationSequence() [2/2]

cricket::AllocationSequence::~AllocationSequence ( )

Member Function Documentation

◆ Clear() [1/2]

void cricket::AllocationSequence::Clear ( )

◆ Clear() [2/2]

void cricket::AllocationSequence::Clear ( )

◆ CreateTurnPort() [1/2]

void cricket::AllocationSequence::CreateTurnPort ( const RelayServerConfig config)
protected

◆ CreateTurnPort() [2/2]

void cricket::AllocationSequence::CreateTurnPort ( const RelayServerConfig config)
protected

◆ DisableEquivalentPhases() [1/2]

void cricket::AllocationSequence::DisableEquivalentPhases ( rtc::Network network,
PortConfiguration config,
uint32_t flags 
)

◆ DisableEquivalentPhases() [2/2]

void cricket::AllocationSequence::DisableEquivalentPhases ( rtc::Network network,
PortConfiguration config,
uint32_t flags 
)

◆ EnableProtocol() [1/2]

void cricket::AllocationSequence::EnableProtocol ( ProtocolType  proto)

◆ EnableProtocol() [2/2]

void cricket::AllocationSequence::EnableProtocol ( ProtocolType  proto)

◆ Init() [1/2]

void cricket::AllocationSequence::Init ( )

◆ Init() [2/2]

void cricket::AllocationSequence::Init ( )

◆ network() [1/2]

rtc::Network* cricket::AllocationSequence::network ( ) const
inline

◆ network() [2/2]

rtc::Network* cricket::AllocationSequence::network ( ) const
inline

◆ network_failed() [1/2]

bool cricket::AllocationSequence::network_failed ( ) const
inline

◆ network_failed() [2/2]

bool cricket::AllocationSequence::network_failed ( ) const
inline

◆ OnMessage() [1/2]

void cricket::AllocationSequence::OnMessage ( rtc::Message msg)
virtual

Implements rtc::MessageHandler.

◆ OnMessage() [2/2]

void cricket::AllocationSequence::OnMessage ( rtc::Message msg)
virtual

Implements rtc::MessageHandler.

◆ OnNetworkFailed() [1/2]

void cricket::AllocationSequence::OnNetworkFailed ( )

◆ OnNetworkFailed() [2/2]

void cricket::AllocationSequence::OnNetworkFailed ( )

◆ ProtocolEnabled() [1/2]

bool cricket::AllocationSequence::ProtocolEnabled ( ProtocolType  proto) const

◆ ProtocolEnabled() [2/2]

bool cricket::AllocationSequence::ProtocolEnabled ( ProtocolType  proto) const

◆ set_network_failed() [1/2]

void cricket::AllocationSequence::set_network_failed ( )
inline

◆ set_network_failed() [2/2]

void cricket::AllocationSequence::set_network_failed ( )
inline

◆ Start() [1/2]

void cricket::AllocationSequence::Start ( )

◆ Start() [2/2]

void cricket::AllocationSequence::Start ( )

◆ state() [1/2]

State cricket::AllocationSequence::state ( ) const
inline

◆ state() [2/2]

State cricket::AllocationSequence::state ( ) const
inline

◆ Stop() [1/2]

void cricket::AllocationSequence::Stop ( )

◆ Stop() [2/2]

void cricket::AllocationSequence::Stop ( )

Member Data Documentation

◆ SignalPortAllocationComplete

sigslot::signal1< AllocationSequence * > cricket::AllocationSequence::SignalPortAllocationComplete

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