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

Public Types

enum class  ConnState : int { Closed = 0 , Connecting = 1 , Connected = 2 }
enum class  Option : int {
  Dontfragment = 0 , Rcvbuf = 1 , Sndbuf = 2 , Nodelay = 3 ,
  Ipv6V6only = 4 , Dscp = 5 , RtpSendtimeExtnId = 6 , SendEcn = 7 ,
  RecvEcn = 8 , Keepalive = 9 , TcpKeepcnt = 10 , TcpKeepidle = 11 ,
  TcpKeepintvl = 12 , TcpUserTimeout = 13 , Broadcast = 14 , Ipv6JoinGroup = 15 ,
  Ipv6MulticastLoop = 16 , Ipv6MulticastIf = 17
}

Public Member Functions

SocketDispatcher & operator= (SocketDispatcher const &)
 SocketDispatcher (SocketDispatcher const &)
virtual bool Create (int type)
virtual bool Create (int family, int type)
virtual void * GetWSAEvent ()
virtual uint64 GetSocket ()
virtual bool CheckSignalClose ()
virtual uint GetRequestedEvents ()
virtual void OnEvent (uint ff, int err)
virtual int Close ()
MCAPI bool $Create (int type)
MCAPI bool $Create (int family, int type)
MCAPI void * $GetWSAEvent ()
MCAPI uint64 $GetSocket ()
MCAPI bool $CheckSignalClose ()
MCAPI uint $GetRequestedEvents ()
MCAPI void $OnEvent (uint ff, int err)
MCAPI int $Close ()
MCAPI void $dtor ()
virtual::rtc::SocketAddress GetLocalAddress () const
virtual::rtc::SocketAddress GetRemoteAddress () const
virtual int Bind (::rtc::SocketAddress const &bind_addr)
virtual int Connect (::rtc::SocketAddress const &addr)
virtual int GetError () const
virtual void SetError (int error)
virtual::rtc::Socket::ConnState GetState () const
virtual int GetOption (::rtc::Socket::Option opt, int *value)
virtual int SetOption (::rtc::Socket::Option opt, int value)
MCAPI int SetOption (::rtc::Socket::Option opt, void const *value, uint64 size)
virtual int Send (void const *pv, uint64 cb)
virtual int SendTo (void const *buffer, uint64 length, ::rtc::SocketAddress const &addr)
virtual int Recv (void *buffer, uint64 length, int64 *timestamp)
virtual int RecvFrom (void *pv, uint64 cb, ::rtc::SocketAddress *paddr, int64 *timestamp)
virtual int RecvFrom (::rtc::Socket::ReceiveBuffer &buffer)
virtual int Listen (int backlog)
virtual::rtc::Socket * Accept (::rtc::SocketAddress *out_addr)
virtual uint64 DoAccept (uint64 socket, ::sockaddr *addr, int *addrlen)
virtual int DoSend (uint64 socket, char const *buf, int len, int flags)
virtual int DoSendTo (uint64 socket, char const *buf, int len, int flags, ::sockaddr const *dest_addr, int addrlen)
virtual void SetEnabledEvents (uchar events)
virtual void EnableEvents (uchar events)
virtual void DisableEvents (uchar events)
MCAPI int DoConnect (::rtc::SocketAddress const &connect_addr)
MCAPI int TranslateOption (::rtc::Socket::Option opt, int *slevel, int *sopt)
MCAPI void * $ctor (::rtc::PhysicalSocketServer *ss, uint64 s)
MCAPI void $dtor ()
MCAPI::rtc::SocketAddress $GetLocalAddress () const
MCAPI::rtc::SocketAddress $GetRemoteAddress () const
MCAPI int $Bind (::rtc::SocketAddress const &bind_addr)
MCAPI int $Connect (::rtc::SocketAddress const &addr)
MCAPI int $GetError () const
MCAPI void $SetError (int error)
MCAPI::rtc::Socket::ConnState $GetState () const
MCAPI int $GetOption (::rtc::Socket::Option opt, int *value)
MCAPI int $SetOption (::rtc::Socket::Option opt, int value)
MCAPI int $Send (void const *pv, uint64 cb)
MCAPI int $SendTo (void const *buffer, uint64 length, ::rtc::SocketAddress const &addr)
MCAPI int $Recv (void *buffer, uint64 length, int64 *timestamp)
MCAPI int $RecvFrom (void *pv, uint64 cb, ::rtc::SocketAddress *paddr, int64 *timestamp)
MCAPI int $RecvFrom (::rtc::Socket::ReceiveBuffer &buffer)
MCAPI int $Listen (int backlog)
MCAPI::rtc::Socket * $Accept (::rtc::SocketAddress *out_addr)
MCAPI uint64 $DoAccept (uint64 socket, ::sockaddr *addr, int *addrlen)
MCAPI int $DoSend (uint64 socket, char const *buf, int len, int flags)
MCAPI int $DoSendTo (uint64 socket, char const *buf, int len, int flags, ::sockaddr const *dest_addr, int addrlen)
MCAPI void $SetEnabledEvents (uchar events)
MCAPI void $EnableEvents (uchar events)
MCAPI void $DisableEvents (uchar events)

Static Public Member Functions

static MCAPI int & next_id_ ()
static MCAPI void ** $vftableForHasSlots ()
static MCAPI void ** $vftableForSocket ()
static MCAPI void ** $vftable ()

Public Attributes

::ll::UntypedStorage< 4, 4 > mUnkf002bf
::ll::UntypedStorage< 1, 1 > mUnk70b785
::ll::UntypedStorage< 4, 4 > mUnk2a9bf6
::ll::UntypedStorage< 8, 8 > mUnke204df
::ll::UntypedStorage< 8, 8 > mUnk2e4eb5
::ll::UntypedStorage< 1, 1 > mUnka6b4c1
::ll::UntypedStorage< 4, 4 > mUnk83dbee
::ll::UntypedStorage< 8, 40 > mUnkf4def3
::ll::UntypedStorage< 4, 4 > mUnkf530c5
::ll::UntypedStorage< 4, 4 > mUnkb6f68b
::ll::UntypedStorage< 8, 8 > mUnk52d5f8
::ll::UntypedStorage< 1, 1 > mUnk70aa9a
::ll::UntypedStorage< 1, 1 > mUnk80a24e
::ll::UntypedStorage< 1, 1 > mUnk5a5112
::ll::UntypedStorage< 1, 1 > mUnk8efe6c
::ll::UntypedStorage< 8, 88 > mUnk2097da
::ll::UntypedStorage< 8, 88 > mUnk60f0a5
::ll::UntypedStorage< 8, 48 > mUnkd40cf8
::ll::UntypedStorage< 8, 48 > mUnk24406c

Member Function Documentation

◆ Create()

virtual bool rtc::SocketDispatcher::Create ( int family,
int type )
virtual

Reimplemented from rtc::PhysicalSocket.

◆ GetWSAEvent()

virtual void * rtc::SocketDispatcher::GetWSAEvent ( )
virtual

Implements rtc::Dispatcher.

◆ GetSocket()

virtual uint64 rtc::SocketDispatcher::GetSocket ( )
virtual

Implements rtc::Dispatcher.

◆ CheckSignalClose()

virtual bool rtc::SocketDispatcher::CheckSignalClose ( )
virtual

Implements rtc::Dispatcher.

◆ GetRequestedEvents()

virtual uint rtc::SocketDispatcher::GetRequestedEvents ( )
virtual

Implements rtc::Dispatcher.

◆ OnEvent()

virtual void rtc::SocketDispatcher::OnEvent ( uint ff,
int err )
virtual

Implements rtc::Dispatcher.

◆ Close()

virtual int rtc::SocketDispatcher::Close ( )
virtual

Reimplemented from rtc::PhysicalSocket.

◆ next_id_()

MCAPI int & rtc::SocketDispatcher::next_id_ ( )
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.

◆ $Create() [1/2]

MCAPI bool rtc::SocketDispatcher::$Create ( int type)
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.

◆ $Create() [2/2]

MCAPI bool rtc::SocketDispatcher::$Create ( int family,
int type )
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.

◆ $GetWSAEvent()

MCAPI void * rtc::SocketDispatcher::$GetWSAEvent ( )
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.

◆ $GetSocket()

MCAPI uint64 rtc::SocketDispatcher::$GetSocket ( )
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.

◆ $CheckSignalClose()

MCAPI bool rtc::SocketDispatcher::$CheckSignalClose ( )
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.

◆ $GetRequestedEvents()

MCAPI uint rtc::SocketDispatcher::$GetRequestedEvents ( )
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.

◆ $OnEvent()

MCAPI void rtc::SocketDispatcher::$OnEvent ( uint ff,
int err )
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::SocketDispatcher::$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.

◆ $vftableForHasSlots()

MCAPI void ** rtc::SocketDispatcher::$vftableForHasSlots ( )
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.

◆ $vftableForSocket()

MCAPI void ** rtc::SocketDispatcher::$vftableForSocket ( )
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.

◆ $vftable()

MCAPI void ** rtc::SocketDispatcher::$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.

◆ $dtor() [1/2]

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

◆ GetLocalAddress()

virtual::rtc::SocketAddress rtc::PhysicalSocket::GetLocalAddress ( ) const
virtualinherited

Implements rtc::Socket.

◆ GetRemoteAddress()

virtual::rtc::SocketAddress rtc::PhysicalSocket::GetRemoteAddress ( ) const
virtualinherited

Implements rtc::Socket.

◆ Bind()

virtual int rtc::PhysicalSocket::Bind ( ::rtc::SocketAddress const & bind_addr)
virtualinherited

Implements rtc::Socket.

◆ Connect()

virtual int rtc::PhysicalSocket::Connect ( ::rtc::SocketAddress const & addr)
virtualinherited

Implements rtc::Socket.

◆ GetError()

virtual int rtc::PhysicalSocket::GetError ( ) const
virtualinherited

Implements rtc::Socket.

◆ SetError()

virtual void rtc::PhysicalSocket::SetError ( int error)
virtualinherited

Implements rtc::Socket.

◆ GetState()

virtual::rtc::Socket::ConnState rtc::PhysicalSocket::GetState ( ) const
virtualinherited

Implements rtc::Socket.

◆ GetOption()

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

Implements rtc::Socket.

◆ SetOption() [1/2]

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

Implements rtc::Socket.

◆ SetOption() [2/2]

MCAPI int rtc::PhysicalSocket::SetOption ( ::rtc::Socket::Option opt,
void const * value,
uint64 size )
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.

◆ Send()

virtual int rtc::PhysicalSocket::Send ( void const * pv,
uint64 cb )
virtualinherited

Implements rtc::Socket.

◆ SendTo()

virtual int rtc::PhysicalSocket::SendTo ( void const * buffer,
uint64 length,
::rtc::SocketAddress const & addr )
virtualinherited

Implements rtc::Socket.

◆ Recv()

virtual int rtc::PhysicalSocket::Recv ( void * buffer,
uint64 length,
int64 * timestamp )
virtualinherited

Implements rtc::Socket.

◆ RecvFrom() [1/2]

virtual int rtc::PhysicalSocket::RecvFrom ( void * pv,
uint64 cb,
::rtc::SocketAddress * paddr,
int64 * timestamp )
virtualinherited

Reimplemented from rtc::Socket.

◆ RecvFrom() [2/2]

virtual int rtc::PhysicalSocket::RecvFrom ( ::rtc::Socket::ReceiveBuffer & buffer)
virtualinherited

Reimplemented from rtc::Socket.

◆ Listen()

virtual int rtc::PhysicalSocket::Listen ( int backlog)
virtualinherited

Implements rtc::Socket.

◆ Accept()

virtual::rtc::Socket * rtc::PhysicalSocket::Accept ( ::rtc::SocketAddress * out_addr)
virtualinherited

Implements rtc::Socket.

◆ DoConnect()

MCAPI int rtc::PhysicalSocket::DoConnect ( ::rtc::SocketAddress const & connect_addr)
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.

◆ TranslateOption()

MCAPI int rtc::PhysicalSocket::TranslateOption ( ::rtc::Socket::Option opt,
int * slevel,
int * sopt )
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()

MCAPI void * rtc::PhysicalSocket::$ctor ( ::rtc::PhysicalSocketServer * ss,
uint64 s )
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() [2/2]

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

◆ $GetLocalAddress()

MCAPI::rtc::SocketAddress rtc::PhysicalSocket::$GetLocalAddress ( ) const
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.

◆ $GetRemoteAddress()

MCAPI::rtc::SocketAddress rtc::PhysicalSocket::$GetRemoteAddress ( ) const
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.

◆ $Bind()

MCAPI int rtc::PhysicalSocket::$Bind ( ::rtc::SocketAddress const & bind_addr)
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.

◆ $Connect()

MCAPI int rtc::PhysicalSocket::$Connect ( ::rtc::SocketAddress const & addr)
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.

◆ $GetError()

MCAPI int rtc::PhysicalSocket::$GetError ( ) const
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.

◆ $SetError()

MCAPI void rtc::PhysicalSocket::$SetError ( int error)
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.

◆ $GetState()

MCAPI::rtc::Socket::ConnState rtc::PhysicalSocket::$GetState ( ) const
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.

◆ $GetOption()

MCAPI int rtc::PhysicalSocket::$GetOption ( ::rtc::Socket::Option opt,
int * value )
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.

◆ $SetOption()

MCAPI int rtc::PhysicalSocket::$SetOption ( ::rtc::Socket::Option opt,
int value )
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.

◆ $Send()

MCAPI int rtc::PhysicalSocket::$Send ( void const * pv,
uint64 cb )
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.

◆ $SendTo()

MCAPI int rtc::PhysicalSocket::$SendTo ( void const * buffer,
uint64 length,
::rtc::SocketAddress const & addr )
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.

◆ $Recv()

MCAPI int rtc::PhysicalSocket::$Recv ( void * buffer,
uint64 length,
int64 * timestamp )
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.

◆ $RecvFrom() [1/2]

MCAPI int rtc::PhysicalSocket::$RecvFrom ( void * pv,
uint64 cb,
::rtc::SocketAddress * paddr,
int64 * timestamp )
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.

◆ $RecvFrom() [2/2]

MCAPI int rtc::PhysicalSocket::$RecvFrom ( ::rtc::Socket::ReceiveBuffer & buffer)
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.

◆ $Listen()

MCAPI int rtc::PhysicalSocket::$Listen ( int backlog)
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.

◆ $Accept()

MCAPI::rtc::Socket * rtc::PhysicalSocket::$Accept ( ::rtc::SocketAddress * out_addr)
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.

◆ $DoAccept()

MCAPI uint64 rtc::PhysicalSocket::$DoAccept ( uint64 socket,
::sockaddr * addr,
int * addrlen )
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.

◆ $DoSend()

MCAPI int rtc::PhysicalSocket::$DoSend ( uint64 socket,
char const * buf,
int len,
int flags )
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.

◆ $DoSendTo()

MCAPI int rtc::PhysicalSocket::$DoSendTo ( uint64 socket,
char const * buf,
int len,
int flags,
::sockaddr const * dest_addr,
int addrlen )
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.

◆ $SetEnabledEvents()

MCAPI void rtc::PhysicalSocket::$SetEnabledEvents ( uchar events)
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.

◆ $EnableEvents()

MCAPI void rtc::PhysicalSocket::$EnableEvents ( uchar events)
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.

◆ $DisableEvents()

MCAPI void rtc::PhysicalSocket::$DisableEvents ( uchar events)
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: