LeviLamina
Loading...
Searching...
No Matches
rtc::AsyncTCPSocketBase Class Referenceabstract
+ Inheritance diagram for rtc::AsyncTCPSocketBase:

Public Types

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

Public Member Functions

AsyncTCPSocketBaseoperator= (AsyncTCPSocketBase const &)
 
 AsyncTCPSocketBase (AsyncTCPSocketBase const &)
 
virtual int Send (void const *data, uint64 len, ::rtc::PacketOptions const &options)=0
 
virtual uint64 ProcessInput (::rtc::ArrayView< uchar const >)=0
 
virtual::rtc::SocketAddress GetLocalAddress () const
 
virtual::rtc::SocketAddress GetRemoteAddress () const
 
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 AppendToOutBuffer (void const *pv, uint64 cb)
 
MCAPI AsyncTCPSocketBase (::rtc::Socket *socket, uint64 max_packet_size)
 
MCAPI int FlushOutBuffer ()
 
MCAPI void OnCloseEvent (::rtc::Socket *socket, int error)
 
MCAPI void OnConnectEvent (::rtc::Socket *socket)
 
MCAPI void OnReadEvent (::rtc::Socket *socket)
 
MCAPI void OnWriteEvent (::rtc::Socket *socket)
 
MCAPI void * $ctor (::rtc::Socket *socket, uint64 max_packet_size)
 
MCAPI void $dtor ()
 
MCAPI::rtc::SocketAddress $GetLocalAddress () const
 
MCAPI::rtc::SocketAddress $GetRemoteAddress () const
 
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 ()
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 

Public Attributes

::ll::UntypedStorage< 8, 8 > mUnk744ef4
 
::ll::UntypedStorage< 8, 24 > mUnke9e798
 
::ll::UntypedStorage< 8, 24 > mUnkb68108
 
::ll::UntypedStorage< 8, 8 > mUnk169cb8
 
::ll::UntypedStorage< 8, 8 > mUnk921ceb
 
::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

◆ AsyncTCPSocketBase()

MCAPI rtc::AsyncTCPSocketBase::AsyncTCPSocketBase ( ::rtc::Socket * socket,
uint64 max_packet_size )
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

◆ Send()

virtual int rtc::AsyncTCPSocketBase::Send ( void const * data,
uint64 len,
::rtc::PacketOptions const & options )
pure virtual

◆ GetLocalAddress()

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

◆ GetRemoteAddress()

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

◆ SendTo()

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

◆ Close()

virtual int rtc::AsyncTCPSocketBase::Close ( )
virtual

◆ GetState()

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

◆ GetOption()

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

◆ SetOption()

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

◆ GetError()

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

◆ SetError()

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

◆ AppendToOutBuffer()

MCAPI void rtc::AsyncTCPSocketBase::AppendToOutBuffer ( void const * pv,
uint64 cb )
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.

◆ FlushOutBuffer()

MCAPI int rtc::AsyncTCPSocketBase::FlushOutBuffer ( )
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.

◆ OnCloseEvent()

MCAPI void rtc::AsyncTCPSocketBase::OnCloseEvent ( ::rtc::Socket * socket,
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.

◆ OnConnectEvent()

MCAPI void rtc::AsyncTCPSocketBase::OnConnectEvent ( ::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.

◆ OnReadEvent()

MCAPI void rtc::AsyncTCPSocketBase::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::AsyncTCPSocketBase::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.

◆ $ctor() [1/2]

MCAPI void * rtc::AsyncTCPSocketBase::$ctor ( ::rtc::Socket * socket,
uint64 max_packet_size )
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::AsyncTCPSocketBase::$dtor ( )
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::AsyncTCPSocketBase::$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::AsyncTCPSocketBase::$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.

◆ $SendTo()

MCAPI int rtc::AsyncTCPSocketBase::$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::AsyncTCPSocketBase::$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::AsyncTCPSocketBase::$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::AsyncTCPSocketBase::$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::AsyncTCPSocketBase::$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::AsyncTCPSocketBase::$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::AsyncTCPSocketBase::$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::AsyncTCPSocketBase::$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.

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