Interface ISessionIdFactory<TSessionId>
- Namespace
- BSGameLib.Server
- Assembly
- BSGameLib.Server.dll
Creates the session ID for each new connection.
public interface ISessionIdFactory<TSessionId> where TSessionId : notnull
Type Parameters
TSessionId
Methods
Create(INetConnection)
Returns the session ID for connection.
TSessionId Create(INetConnection connection)
Parameters
connectionINetConnection
Returns
- TSessionId