Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
webrtc::SocketDispatcher Class Reference
Inheritance diagram for webrtc::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 family, int type)
virtual bool Create (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 family, int type)
MCAPI bool $Create (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::webrtc::SocketAddress GetLocalAddress () const
virtual::webrtc::SocketAddress GetRemoteAddress () const
virtual int Bind (::webrtc::SocketAddress const &bind_addr)
virtual int Connect (::webrtc::SocketAddress const &addr)
virtual int GetError () const
virtual void SetError (int error)
virtual::webrtc::Socket::ConnState GetState () const
virtual int GetOption (::webrtc::Socket::Option opt, int *value)
virtual int SetOption (::webrtc::Socket::Option opt, int value)
MCAPI int SetOption (::webrtc::Socket::Option opt, void const *value, uint64 size)
virtual int Send (void const *pv, uint64 cb)
virtual int SendTo (void const *buffer, uint64 length, ::webrtc::SocketAddress const &addr)
virtual int Recv (void *buffer, uint64 length, int64 *timestamp)
virtual int RecvFrom (::webrtc::Socket::ReceiveBuffer &buffer)
virtual int RecvFrom (void *buffer, uint64 length, ::webrtc::SocketAddress *out_addr, int64 *timestamp)
virtual int Listen (int backlog)
virtual::webrtc::Socket * Accept (::webrtc::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 (::webrtc::SocketAddress const &connect_addr)
MCAPI int TranslateOption (::webrtc::Socket::Option opt, int *slevel, int *sopt)
MCAPI void * $ctor (::webrtc::PhysicalSocketServer *ss, uint64 s)
MCAPI void $dtor ()
MCAPI::webrtc::SocketAddress $GetLocalAddress () const
MCAPI::webrtc::SocketAddress $GetRemoteAddress () const
MCAPI int $Bind (::webrtc::SocketAddress const &bind_addr)
MCAPI int $Connect (::webrtc::SocketAddress const &addr)
MCAPI int $GetError () const
MCAPI void $SetError (int error)
MCAPI::webrtc::Socket::ConnState $GetState () const
MCAPI int $GetOption (::webrtc::Socket::Option opt, int *value)
MCAPI int $SetOption (::webrtc::Socket::Option opt, int value)
MCAPI int $Send (void const *pv, uint64 cb)
MCAPI int $SendTo (void const *buffer, uint64 length, ::webrtc::SocketAddress const &addr)
MCAPI int $Recv (void *buffer, uint64 length, int64 *timestamp)
MCAPI int $RecvFrom (::webrtc::Socket::ReceiveBuffer &buffer)
MCAPI int $RecvFrom (void *buffer, uint64 length, ::webrtc::SocketAddress *out_addr, int64 *timestamp)
MCAPI int $Listen (int backlog)
MCAPI::webrtc::Socket * $Accept (::webrtc::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 ** $vftableForSocket ()
static MCAPI void ** $vftableForHasSlots ()
static MCAPI void ** $vftable ()

Public Attributes

::ll::UntypedStorage< 4, 4 > mUnk87c04d
::ll::UntypedStorage< 1, 1 > mUnkbd57a1
::ll::UntypedStorage< 4, 4 > mUnk3573ec
::ll::UntypedStorage< 8, 8 > mUnk490cec
::ll::UntypedStorage< 8, 8 > mUnk260dba
::ll::UntypedStorage< 1, 1 > mUnkff94eb
::ll::UntypedStorage< 4, 4 > mUnk8b4b60
::ll::UntypedStorage< 8, 40 > mUnkb735db
::ll::UntypedStorage< 4, 4 > mUnk1f8ce7
::ll::UntypedStorage< 4, 4 > mUnk980c93
::ll::UntypedStorage< 8, 8 > mUnk75eeb3
::ll::UntypedStorage< 1, 1 > mUnkab46d3
::ll::UntypedStorage< 1, 1 > mUnk41fc38
::ll::UntypedStorage< 1, 1 > mUnk1fd5ca
::ll::UntypedStorage< 8, 88 > mUnk90b6cc
::ll::UntypedStorage< 8, 88 > mUnk757c34
::ll::UntypedStorage< 8, 48 > mUnk90b6d7
::ll::UntypedStorage< 8, 48 > mUnk345ea3

Member Function Documentation

◆ Create()

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

Reimplemented from webrtc::PhysicalSocket.

◆ GetWSAEvent()

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

Implements webrtc::Dispatcher.

◆ GetSocket()

virtual uint64 webrtc::SocketDispatcher::GetSocket ( )
virtual

Implements webrtc::Dispatcher.

◆ CheckSignalClose()

virtual bool webrtc::SocketDispatcher::CheckSignalClose ( )
virtual

Implements webrtc::Dispatcher.

◆ GetRequestedEvents()

virtual uint webrtc::SocketDispatcher::GetRequestedEvents ( )
virtual

Implements webrtc::Dispatcher.

◆ OnEvent()

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

Implements webrtc::Dispatcher.

◆ Close()

virtual int webrtc::SocketDispatcher::Close ( )
virtual

Reimplemented from webrtc::PhysicalSocket.

◆ next_id_()

MCAPI int & webrtc::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 webrtc::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.

◆ $Create() [2/2]

MCAPI bool webrtc::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.

◆ $GetWSAEvent()

MCAPI void * webrtc::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 webrtc::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 webrtc::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 webrtc::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 webrtc::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 webrtc::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.

◆ $vftableForSocket()

MCAPI void ** webrtc::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.

◆ $vftableForHasSlots()

MCAPI void ** webrtc::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.

◆ $vftable()

MCAPI void ** webrtc::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 webrtc::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::webrtc::SocketAddress webrtc::PhysicalSocket::GetLocalAddress ( ) const
virtualinherited

Implements webrtc::Socket.

◆ GetRemoteAddress()

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

Implements webrtc::Socket.

◆ Bind()

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

Implements webrtc::Socket.

◆ Connect()

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

Implements webrtc::Socket.

◆ GetError()

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

Implements webrtc::Socket.

◆ SetError()

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

Implements webrtc::Socket.

◆ GetState()

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

Implements webrtc::Socket.

◆ GetOption()

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

Implements webrtc::Socket.

◆ SetOption() [1/2]

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

Implements webrtc::Socket.

◆ SetOption() [2/2]

MCAPI int webrtc::PhysicalSocket::SetOption ( ::webrtc::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 webrtc::PhysicalSocket::Send ( void const * pv,
uint64 cb )
virtualinherited

Implements webrtc::Socket.

◆ SendTo()

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

Implements webrtc::Socket.

◆ Recv()

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

Implements webrtc::Socket.

◆ RecvFrom() [1/2]

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

Reimplemented from webrtc::Socket.

◆ RecvFrom() [2/2]

virtual int webrtc::PhysicalSocket::RecvFrom ( void * buffer,
uint64 length,
::webrtc::SocketAddress * out_addr,
int64 * timestamp )
virtualinherited

Reimplemented from webrtc::Socket.

◆ Listen()

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

Implements webrtc::Socket.

◆ Accept()

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

Implements webrtc::Socket.

◆ DoConnect()

MCAPI int webrtc::PhysicalSocket::DoConnect ( ::webrtc::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 webrtc::PhysicalSocket::TranslateOption ( ::webrtc::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 * webrtc::PhysicalSocket::$ctor ( ::webrtc::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 webrtc::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::webrtc::SocketAddress webrtc::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::webrtc::SocketAddress webrtc::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 webrtc::PhysicalSocket::$Bind ( ::webrtc::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 webrtc::PhysicalSocket::$Connect ( ::webrtc::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 webrtc::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 webrtc::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::webrtc::Socket::ConnState webrtc::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 webrtc::PhysicalSocket::$GetOption ( ::webrtc::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 webrtc::PhysicalSocket::$SetOption ( ::webrtc::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 webrtc::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 webrtc::PhysicalSocket::$SendTo ( void const * buffer,
uint64 length,
::webrtc::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 webrtc::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 webrtc::PhysicalSocket::$RecvFrom ( ::webrtc::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.

◆ $RecvFrom() [2/2]

MCAPI int webrtc::PhysicalSocket::$RecvFrom ( void * buffer,
uint64 length,
::webrtc::SocketAddress * out_addr,
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.

◆ $Listen()

MCAPI int webrtc::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::webrtc::Socket * webrtc::PhysicalSocket::$Accept ( ::webrtc::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 webrtc::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 webrtc::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 webrtc::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 webrtc::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 webrtc::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 webrtc::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: