LeviLamina
Loading...
Searching...
No Matches
NetherNet::HttpSignalingServer Class Reference
Inheritance diagram for NetherNet::HttpSignalingServer:

Public Types

using PendingKey = ::std::pair<::NetherNet::NetworkID, ::std::string>
using ResponsePromise = ::Bedrock::Threading::AsyncPromise<::Bedrock::Result<::NetherNet::HttpResponse>>
using ResponseResult = ::Bedrock::Result<::NetherNet::HttpResponse>

Public Member Functions

virtual ::Bedrock::Threading::Async<::NetherNet::ESessionError > SendSignal (::NetherNet::NetworkID, ::NetherNet::NetworkID to, ::std::string const &signal)
virtual::Bedrock::PubSub::Subscription RegisterEventHandler (::NetherNet::ISignalingEventHandler *handler)
virtual ::Bedrock::Threading::Async<::Bedrock::Result<::NetherNet::HttpResponse > > onRequest (::NetherNet::HttpRequest request)
MCAPI ::Bedrock::Threading::Async<::NetherNet::ESessionError > $SendSignal (::NetherNet::NetworkID, ::NetherNet::NetworkID to, ::std::string const &signal)
MCAPI::Bedrock::PubSub::Subscription $RegisterEventHandler (::NetherNet::ISignalingEventHandler *handler)
MCAPI ::Bedrock::Threading::Async<::Bedrock::Result<::NetherNet::HttpResponse > > $onRequest (::NetherNet::HttpRequest request)
MCAPI void _onConnectionClosed (::NetherNet::HttpConnection *conn)
MCAPI void _onListenReadEvent (::webrtc::Socket *)
virtual::NetherNet::RtcThreadManager const & getSignalThread () const
virtual::NetherNet::RtcThreadManager const & getNetworkThread () const
virtual::NetherNet::RtcThreadManager const & getWorkerThread () const
virtual::NetherNet::ILanDiscovery & getLanDiscovery ()
virtual void onSuspend ()
virtual void onResume ()
virtual::NetherNet::GlobalConfiguration const & getGlobalConfig () const
virtual void setLoggingLevel (::NetherNet::LogSeverity min)
virtual void _logMessage (::NetherNet::LogSeverity level, char const *fmt, char *args) const
MCAPI void * $ctor (::NetherNet::IContext &target)
MCAPI void $dtor ()
MCAPI::NetherNet::RtcThreadManager const & $getSignalThread () const
MCAPI::NetherNet::RtcThreadManager const & $getNetworkThread () const
MCAPI::NetherNet::RtcThreadManager const & $getWorkerThread () const
MCAPI::NetherNet::ILanDiscovery & $getLanDiscovery ()
MCAPI void $onSuspend ()
MCAPI void $onResume ()
MCAPI::NetherNet::GlobalConfiguration const & $getGlobalConfig () const
MCAPI void $setLoggingLevel (::NetherNet::LogSeverity min)
MCAPI void $_logMessage (::NetherNet::LogSeverity level, char const *fmt, char *args) const
MCAPI void logMessage (::NetherNet::LogSeverity level, char const *fmt,...) const

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 16, ::std::map< ::std::pair<::NetherNet::NetworkID, ::std::string >, ::Bedrock::Threading::AsyncPromise<::Bedrock::Result<::NetherNet::HttpResponse > > > > mPendingJoinPromises
::ll::TypedStorage< 8, 128, ::Bedrock::PubSub::Publisher< void(::std::variant<::NetherNet::SignalingEvents::MessageReceived > const &), ::Bedrock::PubSub::ThreadModel::MultiThreaded, 0 > > mEventDispatcher
::ll::TypedStorage< 8, 64, ::brstd::move_only_function<::Bedrock::Result<::std::string >()> > mGetServerInfo
::ll::TypedStorage< 8, 8, ::webrtc::scoped_refptr<::webrtc::PendingTaskSafetyFlag > > mSafetyFlag
::ll::TypedStorage< 2, 2, ushort > mPort
::ll::TypedStorage< 8, 32, ::std::string > mBindAddress
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::webrtc::Socket > > mListenSocket
::ll::TypedStorage< 8, 24, ::std::vector<::std::shared_ptr<::NetherNet::HttpConnection > > > mConnections
::ll::TypedStorage< 8, 336, ::TaskGroup > mTaskGroup
::ll::UntypedStorage< 8, 24 > mUnkaedcad
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlock > mControlBlock

Member Function Documentation

◆ SendSignal()

virtual ::Bedrock::Threading::Async<::NetherNet::ESessionError > NetherNet::HttpSignalingServer::SendSignal ( ::NetherNet::NetworkID ,
::NetherNet::NetworkID to,
::std::string const & signal )
virtual

◆ RegisterEventHandler()

virtual::Bedrock::PubSub::Subscription NetherNet::HttpSignalingServer::RegisterEventHandler ( ::NetherNet::ISignalingEventHandler * handler)
virtual

◆ onRequest()

virtual ::Bedrock::Threading::Async<::Bedrock::Result<::NetherNet::HttpResponse > > NetherNet::HttpSignalingServer::onRequest ( ::NetherNet::HttpRequest request)
virtual

Implements NetherNet::HttpServer.

◆ getSignalThread()

virtual::NetherNet::RtcThreadManager const & NetherNet::ContextProxy::getSignalThread ( ) const
virtualinherited

Implements NetherNet::IContext.

◆ getNetworkThread()

virtual::NetherNet::RtcThreadManager const & NetherNet::ContextProxy::getNetworkThread ( ) const
virtualinherited

Implements NetherNet::IContext.

◆ getWorkerThread()

virtual::NetherNet::RtcThreadManager const & NetherNet::ContextProxy::getWorkerThread ( ) const
virtualinherited

Implements NetherNet::IContext.

◆ getLanDiscovery()

virtual::NetherNet::ILanDiscovery & NetherNet::ContextProxy::getLanDiscovery ( )
virtualinherited

Implements NetherNet::IContext.

◆ onSuspend()

virtual void NetherNet::ContextProxy::onSuspend ( )
virtualinherited

Implements NetherNet::IContext.

◆ onResume()

virtual void NetherNet::ContextProxy::onResume ( )
virtualinherited

Implements NetherNet::IContext.

◆ getGlobalConfig()

virtual::NetherNet::GlobalConfiguration const & NetherNet::ContextProxy::getGlobalConfig ( ) const
virtualinherited

Implements NetherNet::IContext.

◆ setLoggingLevel()

virtual void NetherNet::ContextProxy::setLoggingLevel ( ::NetherNet::LogSeverity min)
virtualinherited

Implements NetherNet::IContext.

◆ _logMessage()

virtual void NetherNet::ContextProxy::_logMessage ( ::NetherNet::LogSeverity level,
char const * fmt,
char * args ) const
virtualinherited

Implements NetherNet::IContext.

◆ $ctor()

MCAPI void * NetherNet::ContextProxy::$ctor ( ::NetherNet::IContext & target)
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 NetherNet::ContextProxy::$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.

◆ $getSignalThread()

MCAPI::NetherNet::RtcThreadManager const & NetherNet::ContextProxy::$getSignalThread ( ) 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.

◆ $getNetworkThread()

MCAPI::NetherNet::RtcThreadManager const & NetherNet::ContextProxy::$getNetworkThread ( ) 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.

◆ $getWorkerThread()

MCAPI::NetherNet::RtcThreadManager const & NetherNet::ContextProxy::$getWorkerThread ( ) 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.

◆ $getLanDiscovery()

MCAPI::NetherNet::ILanDiscovery & NetherNet::ContextProxy::$getLanDiscovery ( )
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.

◆ $onSuspend()

MCAPI void NetherNet::ContextProxy::$onSuspend ( )
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.

◆ $onResume()

MCAPI void NetherNet::ContextProxy::$onResume ( )
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.

◆ $getGlobalConfig()

MCAPI::NetherNet::GlobalConfiguration const & NetherNet::ContextProxy::$getGlobalConfig ( ) 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.

◆ $setLoggingLevel()

MCAPI void NetherNet::ContextProxy::$setLoggingLevel ( ::NetherNet::LogSeverity min)
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.

◆ $_logMessage()

MCAPI void NetherNet::ContextProxy::$_logMessage ( ::NetherNet::LogSeverity level,
char const * fmt,
char * args ) 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.

◆ $vftable()

MCAPI void ** NetherNet::ContextProxy::$vftable ( )
staticinherited
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.

◆ logMessage()

MCAPI void NetherNet::IContext::logMessage ( ::NetherNet::LogSeverity level,
char const * fmt,
... ) 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.

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