Noble Connect
Add relays and punchthrough to Mirror or UNet
NobleConnect.Ice.SessionList Class Reference

Public Member Functions

Session GetSessionByEndPoint (IPEndPoint endPoint)
 
Session GetSessionByLocalUsername (string localUsernameFragment)
 
Session GetSessionByRemoteUsername (string remoteUsernameFragment)
 
void RegisterRemoteUsername (Session s)
 
void AddSession (Session s, IPEndPoint remoteEndPoint)
 
void RemoveSession (IPEndPoint sessionEndPoint)
 
void RemoveSession (Session s)
 
void ForEach (Action< Session > callback)
 
Session GetNextActiveSession ()
 

Member Function Documentation

◆ AddSession()

void NobleConnect.Ice.SessionList.AddSession ( Session  s,
IPEndPoint  remoteEndPoint 
)

◆ ForEach()

void NobleConnect.Ice.SessionList.ForEach ( Action< Session callback)

◆ GetNextActiveSession()

Session NobleConnect.Ice.SessionList.GetNextActiveSession ( )

◆ GetSessionByEndPoint()

Session NobleConnect.Ice.SessionList.GetSessionByEndPoint ( IPEndPoint  endPoint)

◆ GetSessionByLocalUsername()

Session NobleConnect.Ice.SessionList.GetSessionByLocalUsername ( string  localUsernameFragment)

◆ GetSessionByRemoteUsername()

Session NobleConnect.Ice.SessionList.GetSessionByRemoteUsername ( string  remoteUsernameFragment)

◆ RegisterRemoteUsername()

void NobleConnect.Ice.SessionList.RegisterRemoteUsername ( Session  s)

◆ RemoveSession() [1/2]

void NobleConnect.Ice.SessionList.RemoveSession ( IPEndPoint  sessionEndPoint)

◆ RemoveSession() [2/2]

void NobleConnect.Ice.SessionList.RemoveSession ( Session  s)