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

Classes

struct  NetworkSessionRecord
 

Public Member Functions

NetworkSessionManageroperator= (NetworkSessionManager const &)
 
 NetworkSessionManager (NetworkSessionManager const &)
 
MCAPI void ClearPacketData (::NetherNet::NetworkID remoteId, uint64 connectionId)
 
MCAPI void CloseInactiveSessionsOnSignalThread (::NetherNet::NetworkID remoteID, ::std::tuple< ::std::vector<::std::unique_ptr<::NetherNet::NetworkSession > > &, ::Bedrock::Threading::UniqueLock<::std::recursive_mutex > const & > const &list)
 
MCAPI bool CloseSessionWithReason (::NetherNet::NetworkID networkIDRemote, uint64 connectionId, ::NetherNet::ESessionError reason)
 
MCAPI void FilterDeadSessions (::NetherNet::NetworkID remoteID, ::std::tuple< ::std::vector<::std::unique_ptr<::NetherNet::NetworkSession > > &, ::Bedrock::Threading::UniqueLock<::std::recursive_mutex > const & > const &list)
 
MCAPI::NetherNet::NetworkSession * FindOrCreateSpecificSession (::NetherNet::NetworkID remoteId, uint64 connectionId, ::Bedrock::Threading::UniqueLock<::std::recursive_mutex > const &sessionsLock)
 
MCAPI ::std::vector<::std::unique_ptr<::NetherNet::NetworkSession > > & GetCurrentSessions (::NetherNet::NetworkID remoteID, ::Bedrock::Threading::UniqueLock<::std::recursive_mutex > const &sessionsLock)
 
MCAPI bool GetSessionState (::NetherNet::NetworkID peerId, uint64 connectionId, ::NetherNet::SessionState *pConnectionState)
 
MCAPI::NetherNet::ESessionError InitiateIncomingSession (::NetherNet::NetworkID remoteID, uint64 const &connectionId, ::std::unique_ptr<::webrtc::SessionDescriptionInterface > pSessionDescription, ::NetherNet::SignalingChannelId preference, ::Bedrock::Threading::UniqueLock<::std::recursive_mutex > const &sessionsLock)
 
MCAPI::NetherNet::NetworkSession * InitiateOutgoingSession (::NetherNet::NetworkID remoteID, ::Bedrock::Threading::UniqueLock<::std::recursive_mutex > const &sessionsLock)
 
MCAPI bool IsPacketAvailable (::NetherNet::NetworkID remoteId, uint64 connectionId, uint *pcbMessageSize)
 
MCAPI NetworkSessionManager (::NetherNet::ContextProxy const &ctx, ::NetherNet::SimpleNetworkInterfaceImpl &networkInterface)
 
MCAPI void NotifyOnSessionOpen (::NetherNet::NetworkID networkIDRemote, uint64 connectionId)
 
MCAPI bool NotifyOnSessionRequested (::NetherNet::NetworkID networkIDRemote, uint64 connectionId)
 
MCAPI void PeriodicDeadSessionCleanupOnSignalThread ()
 
MCAPI void ProcessError (::NetherNet::NetworkID remoteID, uint64 connectionId, ::NetherNet::ESessionError error)
 
MCAPI void ProcessSignal (::NetherNet::NetworkID remoteID, ::NetherNet::ConnectError const &signal, ::NetherNet::SignalingChannelId) const
 
MCAPI void ProcessSignal (::NetherNet::NetworkID remoteID, ::NetherNet::ConnectResponse const &signal, ::NetherNet::SignalingChannelId) const
 
MCAPI void ProcessSignal (::NetherNet::NetworkID remoteID, ::NetherNet::CandidateAdd const &signal, ::NetherNet::SignalingChannelId)
 
MCAPI void ProcessSignal (::NetherNet::NetworkID remoteID, ::NetherNet::ConnectRequest const &signal, ::NetherNet::SignalingChannelId sourceChannel)
 
MCAPI bool ReadPacket (::NetherNet::NetworkID remoteId, uint64 connectionId, void *pubDest, uint cbDest, uint *pcbMessageSize)
 
MCAPI void RemoteMessageReceived (::NetherNet::NetworkID remoteID, uint64 connectionId, void const *pvData, uint64 cbSize)
 
MCAPI bool SendPacket (::NetherNet::NetworkID networkIDRemote, uint64 connectionId, char const *pbData, uint cbData, ::NetherNet::ESendType eSendType)
 
MCAPI ::NetherNet::ErrorOr< void, ::NetherNet::ESessionError > SendToSignalingChannel (::NetherNet::NetworkID networkIDTo, ::std::variant< ::NetherNet::ConnectRequest, ::NetherNet::ConnectResponse, ::NetherNet::ConnectError, ::NetherNet::CandidateAdd > const &signal, ::std::optional<::NetherNet::SignalingChannelId > preference)
 
MCAPI void * $ctor (::NetherNet::ContextProxy const &ctx, ::NetherNet::SimpleNetworkInterfaceImpl &networkInterface)
 
virtual::NetherNet::RtcThreadManager const & getSignalThread () const
 
virtual::NetherNet::RtcThreadManager const & getNetworkThread () const
 
virtual::NetherNet::RtcThreadManager const & getWorkerThread () const
 
virtual::NetherNet::LanThreadManager & getLanThread ()
 
virtual::NetherNet::NetherNetTransportGlobalConfiguration const & getGlobalConfig () const
 
virtual void setLoggingLevel (::NetherNet::LogSeverity min)
 
virtual void _logMessage (::NetherNet::LogSeverity level, char const *fmt, char *args) const
 
MCAPI void $dtor ()
 
MCAPI::NetherNet::RtcThreadManager const & $getSignalThread () const
 
MCAPI::NetherNet::RtcThreadManager const & $getNetworkThread () const
 
MCAPI::NetherNet::RtcThreadManager const & $getWorkerThread () const
 
MCAPI::NetherNet::LanThreadManager & $getLanThread ()
 
MCAPI::NetherNet::NetherNetTransportGlobalConfiguration 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, char const *,...) const
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 

Public Attributes

::ll::UntypedStorage< 8, 16 > mUnk928996
 
::ll::UntypedStorage< 8, 80 > mUnk2acdd6
 
::ll::UntypedStorage< 8, 80 > mUnk27e415
 
::ll::UntypedStorage< 8, 16 > mUnk98d923
 
::ll::UntypedStorage< 8, 8 > mUnk829b85
 
::ll::UntypedStorage< 8, 24 > mUnkaedcad
 
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlockmControlBlock
 

Constructor & Destructor Documentation

◆ NetworkSessionManager()

MCAPI NetherNet::NetworkSessionManager::NetworkSessionManager ( ::NetherNet::ContextProxy const & ctx,
::NetherNet::SimpleNetworkInterfaceImpl & networkInterface )
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

◆ ClearPacketData()

MCAPI void NetherNet::NetworkSessionManager::ClearPacketData ( ::NetherNet::NetworkID remoteId,
uint64 connectionId )
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.

◆ CloseInactiveSessionsOnSignalThread()

MCAPI void NetherNet::NetworkSessionManager::CloseInactiveSessionsOnSignalThread ( ::NetherNet::NetworkID remoteID,
::std::tuple< ::std::vector<::std::unique_ptr<::NetherNet::NetworkSession > > &, ::Bedrock::Threading::UniqueLock<::std::recursive_mutex > const & > const & list )
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.

◆ CloseSessionWithReason()

MCAPI bool NetherNet::NetworkSessionManager::CloseSessionWithReason ( ::NetherNet::NetworkID networkIDRemote,
uint64 connectionId,
::NetherNet::ESessionError reason )
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.

◆ FilterDeadSessions()

MCAPI void NetherNet::NetworkSessionManager::FilterDeadSessions ( ::NetherNet::NetworkID remoteID,
::std::tuple< ::std::vector<::std::unique_ptr<::NetherNet::NetworkSession > > &, ::Bedrock::Threading::UniqueLock<::std::recursive_mutex > const & > const & list )
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.

◆ FindOrCreateSpecificSession()

MCAPI::NetherNet::NetworkSession * NetherNet::NetworkSessionManager::FindOrCreateSpecificSession ( ::NetherNet::NetworkID remoteId,
uint64 connectionId,
::Bedrock::Threading::UniqueLock<::std::recursive_mutex > const & sessionsLock )
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.

◆ GetCurrentSessions()

MCAPI ::std::vector<::std::unique_ptr<::NetherNet::NetworkSession > > & NetherNet::NetworkSessionManager::GetCurrentSessions ( ::NetherNet::NetworkID remoteID,
::Bedrock::Threading::UniqueLock<::std::recursive_mutex > const & sessionsLock )
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.

◆ GetSessionState()

MCAPI bool NetherNet::NetworkSessionManager::GetSessionState ( ::NetherNet::NetworkID peerId,
uint64 connectionId,
::NetherNet::SessionState * pConnectionState )
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.

◆ InitiateIncomingSession()

MCAPI::NetherNet::ESessionError NetherNet::NetworkSessionManager::InitiateIncomingSession ( ::NetherNet::NetworkID remoteID,
uint64 const & connectionId,
::std::unique_ptr<::webrtc::SessionDescriptionInterface > pSessionDescription,
::NetherNet::SignalingChannelId preference,
::Bedrock::Threading::UniqueLock<::std::recursive_mutex > const & sessionsLock )
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.

◆ InitiateOutgoingSession()

MCAPI::NetherNet::NetworkSession * NetherNet::NetworkSessionManager::InitiateOutgoingSession ( ::NetherNet::NetworkID remoteID,
::Bedrock::Threading::UniqueLock<::std::recursive_mutex > const & sessionsLock )
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.

◆ IsPacketAvailable()

MCAPI bool NetherNet::NetworkSessionManager::IsPacketAvailable ( ::NetherNet::NetworkID remoteId,
uint64 connectionId,
uint * pcbMessageSize )
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.

◆ NotifyOnSessionOpen()

MCAPI void NetherNet::NetworkSessionManager::NotifyOnSessionOpen ( ::NetherNet::NetworkID networkIDRemote,
uint64 connectionId )
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.

◆ NotifyOnSessionRequested()

MCAPI bool NetherNet::NetworkSessionManager::NotifyOnSessionRequested ( ::NetherNet::NetworkID networkIDRemote,
uint64 connectionId )
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.

◆ PeriodicDeadSessionCleanupOnSignalThread()

MCAPI void NetherNet::NetworkSessionManager::PeriodicDeadSessionCleanupOnSignalThread ( )
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.

◆ ProcessError()

MCAPI void NetherNet::NetworkSessionManager::ProcessError ( ::NetherNet::NetworkID remoteID,
uint64 connectionId,
::NetherNet::ESessionError 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.

◆ ProcessSignal() [1/4]

MCAPI void NetherNet::NetworkSessionManager::ProcessSignal ( ::NetherNet::NetworkID remoteID,
::NetherNet::ConnectError const & signal,
::NetherNet::SignalingChannelId  ) 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.

◆ ProcessSignal() [2/4]

MCAPI void NetherNet::NetworkSessionManager::ProcessSignal ( ::NetherNet::NetworkID remoteID,
::NetherNet::ConnectResponse const & signal,
::NetherNet::SignalingChannelId  ) 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.

◆ ProcessSignal() [3/4]

MCAPI void NetherNet::NetworkSessionManager::ProcessSignal ( ::NetherNet::NetworkID remoteID,
::NetherNet::CandidateAdd const & signal,
::NetherNet::SignalingChannelId  )
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.

◆ ProcessSignal() [4/4]

MCAPI void NetherNet::NetworkSessionManager::ProcessSignal ( ::NetherNet::NetworkID remoteID,
::NetherNet::ConnectRequest const & signal,
::NetherNet::SignalingChannelId sourceChannel )
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.

◆ ReadPacket()

MCAPI bool NetherNet::NetworkSessionManager::ReadPacket ( ::NetherNet::NetworkID remoteId,
uint64 connectionId,
void * pubDest,
uint cbDest,
uint * pcbMessageSize )
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.

◆ RemoteMessageReceived()

MCAPI void NetherNet::NetworkSessionManager::RemoteMessageReceived ( ::NetherNet::NetworkID remoteID,
uint64 connectionId,
void const * pvData,
uint64 cbSize )
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.

◆ SendPacket()

MCAPI bool NetherNet::NetworkSessionManager::SendPacket ( ::NetherNet::NetworkID networkIDRemote,
uint64 connectionId,
char const * pbData,
uint cbData,
::NetherNet::ESendType eSendType )
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.

◆ SendToSignalingChannel()

MCAPI ::NetherNet::ErrorOr< void, ::NetherNet::ESessionError > NetherNet::NetworkSessionManager::SendToSignalingChannel ( ::NetherNet::NetworkID networkIDTo,
::std::variant< ::NetherNet::ConnectRequest, ::NetherNet::ConnectResponse, ::NetherNet::ConnectError, ::NetherNet::CandidateAdd > const & signal,
::std::optional<::NetherNet::SignalingChannelId > preference )
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 * NetherNet::NetworkSessionManager::$ctor ( ::NetherNet::ContextProxy const & ctx,
::NetherNet::SimpleNetworkInterfaceImpl & networkInterface )
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 ** NetherNet::NetworkSessionManager::$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.

◆ 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.

◆ getLanThread()

virtual::NetherNet::LanThreadManager & NetherNet::ContextProxy::getLanThread ( )
virtualinherited

Implements NetherNet::IContext.

◆ getGlobalConfig()

virtual::NetherNet::NetherNetTransportGlobalConfiguration 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.

◆ $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.

◆ $getLanThread()

MCAPI::NetherNet::LanThreadManager & NetherNet::ContextProxy::$getLanThread ( )
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::NetherNetTransportGlobalConfiguration 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.

◆ logMessage()

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