C# Class TSO_CityServer.Network.NetworkFacade

Mostrar archivo Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
CurrentSession TSO_CityServer.Network.Session
CurrentTerrain Terrain.Terrain
NetworkListener GonzoNet.Listener
ServerPrivateKey System.Security.Cryptography.ECDiffieHellmanCng
ServerPublicKey byte[]
StartTime System.DateTime
TransferringClients BlockingCollection

Public Methods

Method Description
GetClientToken ( System.Guid Tok ) : TSO_CityServer.Network.ClientToken

Thread-safe method for getting client tokens.

GetClientToken ( string RemoteIP ) : TSO_CityServer.Network.ClientToken

Thread-safe method for getting client tokens.

Private Methods

Method Description
NetworkFacade ( ) : System

Method Details

GetClientToken() public static method

Thread-safe method for getting client tokens.
public static GetClientToken ( System.Guid Tok ) : TSO_CityServer.Network.ClientToken
Tok System.Guid A GUID corresponding to a token in TransferringClients.
return TSO_CityServer.Network.ClientToken

GetClientToken() public static method

Thread-safe method for getting client tokens.
public static GetClientToken ( string RemoteIP ) : TSO_CityServer.Network.ClientToken
RemoteIP string
return TSO_CityServer.Network.ClientToken

Property Details

CurrentSession public_oe static_oe property

public static Session,TSO_CityServer.Network CurrentSession
return TSO_CityServer.Network.Session

CurrentTerrain public_oe static_oe property

public static Terrain.Terrain CurrentTerrain
return Terrain.Terrain

NetworkListener public_oe static_oe property

public static Listener,GonzoNet NetworkListener
return GonzoNet.Listener

ServerPrivateKey public_oe static_oe property

public static ECDiffieHellmanCng,System.Security.Cryptography ServerPrivateKey
return System.Security.Cryptography.ECDiffieHellmanCng

ServerPublicKey public_oe static_oe property

public static byte[] ServerPublicKey
return byte[]

StartTime public_oe static_oe property

public static DateTime,System StartTime
return System.DateTime

TransferringClients public_oe static_oe property

public static BlockingCollection TransferringClients
return BlockingCollection