IServer Interface |
Namespace: Crosser.Common.Server
public interface IServer : IDisposable
The IServer type exposes the following members.
Name | Description | |
---|---|---|
![]() | Connections |
All current connections/clients
|
![]() | ControllerFactory |
For getting controller information
|
![]() | Endpoints |
All endpoints for the server
|
![]() | Framework |
The framwork that the server is running on .NET452, .NETSTANDARD_1_6 etc
|
![]() | Id |
Server Id
|
![]() | OnStarted |
Event fired when the server is started
|
![]() | OnStopped |
Event fired when the server is stopped
|
![]() | ProtocolVersions |
The enabled ProtocolVersions in this IServer |
![]() | Running |
True as long as the server has been started and not stopped
|
![]() | Statistics |
Global stats for the server
|
![]() | Version |
Version of CrosserTech server
|
Name | Description | |
---|---|---|
![]() | Config |
Returns JSON representation of settings.
|
![]() | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) |
![]() | Start |
Starts all endpoints
|
![]() | Stop |
Kills all endpoints
|