LeviLamina
Loading...
Searching...
No Matches
rtc::AsyncUDPSocket Class Reference
+ Inheritance diagram for rtc::AsyncUDPSocket:

Public Types

enum class  State : int {
  Closed = 0 , Binding = 1 , Bound = 2 , Connecting = 3 ,
  Connected = 4
}
 

Public Member Functions

AsyncUDPSocketoperator= (AsyncUDPSocket const &)
 
 AsyncUDPSocket (AsyncUDPSocket const &)
 
virtual::rtc::SocketAddress GetLocalAddress () const
 
virtual::rtc::SocketAddress GetRemoteAddress () const
 
virtual int Send (void const *pv, uint64 cb, ::rtc::PacketOptions const &options)
 
virtual int SendTo (void const *pv, uint64 cb, ::rtc::SocketAddress const &addr, ::rtc::PacketOptions const &options)
 
virtual int Close ()
 
virtual::rtc::AsyncPacketSocket::State GetState () const
 
virtual int GetOption (::rtc::Socket::Option opt, int *value)
 
virtual int SetOption (::rtc::Socket::Option opt, int value)
 
virtual int GetError () const
 
virtual void SetError (int error)
 
MCAPI void AddOwner (::cricket::UDPPort *owner)
 
MCAPI AsyncUDPSocket (::rtc::Socket *socket)
 
MCAPI void OnReadEvent (::rtc::Socket *socket)
 
MCAPI void OnWriteEvent (::rtc::Socket *socket)
 
MCAPI void RemoveOwner (::cricket::UDPPort *owner)
 
MCAPI void * $ctor (::rtc::Socket *socket)
 
MCAPI::rtc::SocketAddress $GetLocalAddress () const
 
MCAPI::rtc::SocketAddress $GetRemoteAddress () const
 
MCAPI int $Send (void const *pv, uint64 cb, ::rtc::PacketOptions const &options)
 
MCAPI int $SendTo (void const *pv, uint64 cb, ::rtc::SocketAddress const &addr, ::rtc::PacketOptions const &options)
 
MCAPI int $Close ()
 
MCAPI::rtc::AsyncPacketSocket::State $GetState () const
 
MCAPI int $GetOption (::rtc::Socket::Option opt, int *value)
 
MCAPI int $SetOption (::rtc::Socket::Option opt, int value)
 
MCAPI int $GetError () const
 
MCAPI void $SetError (int error)
 
MCAPI void NotifyPacketReceived (::rtc::ReceivedPacket const &packet)
 
MCAPI void SubscribeCloseEvent (void const *removal_tag, ::std::function< void(::rtc::AsyncPacketSocket *, int)> callback)
 
MCAPI void SubscribeReceivedPacketEvent (void const *removal_tag, ::absl::AnyInvocable< void(::rtc::AsyncPacketSocket *, ::rtc::ReceivedPacket const &)> received_packet_callback)
 
MCAPI void UnsubscribeCloseEvent (void const *removal_tag)
 
MCAPI void UnsubscribeReceivedPacketEvent (void const *removal_tag)
 
MCAPI void * $ctor ()
 
MCAPI void $dtor ()
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 

Public Attributes

::ll::UntypedStorage< 1, 1 > mUnkf7e5ec
 
::ll::UntypedStorage< 8, 8 > mUnk5fd5db
 
::ll::UntypedStorage< 8, 24 > mUnk5f11e8
 
::ll::UntypedStorage< 8, 16 > mUnk5ac35d
 
::ll::UntypedStorage< 8, 24 > mUnk7f2e95
 
::ll::UntypedStorage< 8, 48 > mUnkc947ea
 
::ll::UntypedStorage< 8, 48 > mUnka854a1
 
::ll::UntypedStorage< 8, 48 > mUnk73987d
 
::ll::UntypedStorage< 8, 48 > mUnk748d42
 
::ll::UntypedStorage< 1, 1 > mUnkd3ab2c
 
::ll::UntypedStorage< 8, 32 > mUnkf3e89d
 
::ll::UntypedStorage< 8, 32 > mUnkb56b47
 

Constructor & Destructor Documentation

◆ AsyncUDPSocket()

MCAPI rtc::AsyncUDPSocket::AsyncUDPSocket ( ::rtc::Socket * socket)
explicit
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ GetLocalAddress()

virtual::rtc::SocketAddress rtc::AsyncUDPSocket::GetLocalAddress ( ) const
virtual

◆ GetRemoteAddress()

virtual::rtc::SocketAddress rtc::AsyncUDPSocket::GetRemoteAddress ( ) const
virtual

◆ Send()

virtual int rtc::AsyncUDPSocket::Send ( void const * pv,
uint64 cb,
::rtc::PacketOptions const & options )
virtual

◆ SendTo()

virtual int rtc::AsyncUDPSocket::SendTo ( void const * pv,
uint64 cb,
::rtc::SocketAddress const & addr,
::rtc::PacketOptions const & options )
virtual

◆ Close()

virtual int rtc::AsyncUDPSocket::Close ( )
virtual

◆ GetState()

virtual::rtc::AsyncPacketSocket::State rtc::AsyncUDPSocket::GetState ( ) const
virtual

◆ GetOption()

virtual int rtc::AsyncUDPSocket::GetOption ( ::rtc::Socket::Option opt,
int * value )
virtual

◆ SetOption()

virtual int rtc::AsyncUDPSocket::SetOption ( ::rtc::Socket::Option opt,
int value )
virtual

◆ GetError()

virtual int rtc::AsyncUDPSocket::GetError ( ) const
virtual

◆ SetError()

virtual void rtc::AsyncUDPSocket::SetError ( int error)
virtual

◆ AddOwner()

MCAPI void rtc::AsyncUDPSocket::AddOwner ( ::cricket::UDPPort * owner)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ OnReadEvent()

MCAPI void rtc::AsyncUDPSocket::OnReadEvent ( ::rtc::Socket * socket)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ OnWriteEvent()

MCAPI void rtc::AsyncUDPSocket::OnWriteEvent ( ::rtc::Socket * socket)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ RemoveOwner()

MCAPI void rtc::AsyncUDPSocket::RemoveOwner ( ::cricket::UDPPort * owner)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor() [1/2]

MCAPI void * rtc::AsyncUDPSocket::$ctor ( ::rtc::Socket * socket)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $GetLocalAddress()

MCAPI::rtc::SocketAddress rtc::AsyncUDPSocket::$GetLocalAddress ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $GetRemoteAddress()

MCAPI::rtc::SocketAddress rtc::AsyncUDPSocket::$GetRemoteAddress ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $Send()

MCAPI int rtc::AsyncUDPSocket::$Send ( void const * pv,
uint64 cb,
::rtc::PacketOptions const & options )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $SendTo()

MCAPI int rtc::AsyncUDPSocket::$SendTo ( void const * pv,
uint64 cb,
::rtc::SocketAddress const & addr,
::rtc::PacketOptions const & options )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $Close()

MCAPI int rtc::AsyncUDPSocket::$Close ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $GetState()

MCAPI::rtc::AsyncPacketSocket::State rtc::AsyncUDPSocket::$GetState ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $GetOption()

MCAPI int rtc::AsyncUDPSocket::$GetOption ( ::rtc::Socket::Option opt,
int * value )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $SetOption()

MCAPI int rtc::AsyncUDPSocket::$SetOption ( ::rtc::Socket::Option opt,
int value )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $GetError()

MCAPI int rtc::AsyncUDPSocket::$GetError ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $SetError()

MCAPI void rtc::AsyncUDPSocket::$SetError ( int error)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable()

static MCAPI void ** rtc::AsyncUDPSocket::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ NotifyPacketReceived()

MCAPI void rtc::AsyncPacketSocket::NotifyPacketReceived ( ::rtc::ReceivedPacket const & packet)
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ SubscribeCloseEvent()

MCAPI void rtc::AsyncPacketSocket::SubscribeCloseEvent ( void const * removal_tag,
::std::function< void(::rtc::AsyncPacketSocket *, int)> callback )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ SubscribeReceivedPacketEvent()

MCAPI void rtc::AsyncPacketSocket::SubscribeReceivedPacketEvent ( void const * removal_tag,
::absl::AnyInvocable< void(::rtc::AsyncPacketSocket *, ::rtc::ReceivedPacket const &)> received_packet_callback )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ UnsubscribeCloseEvent()

MCAPI void rtc::AsyncPacketSocket::UnsubscribeCloseEvent ( void const * removal_tag)
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ UnsubscribeReceivedPacketEvent()

MCAPI void rtc::AsyncPacketSocket::UnsubscribeReceivedPacketEvent ( void const * removal_tag)
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor() [2/2]

MCAPI void * rtc::AsyncPacketSocket::$ctor ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void rtc::AsyncPacketSocket::$dtor ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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