12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- using System;
- namespace SuperSocket.SocketBase
- {
-
-
-
- public enum ServerState : int
- {
-
-
-
- NotInitialized = ServerStateConst.NotInitialized,
-
-
-
- Initializing = ServerStateConst.Initializing,
-
-
-
- NotStarted = ServerStateConst.NotStarted,
-
-
-
- Starting = ServerStateConst.Starting,
-
-
-
- Running = ServerStateConst.Running,
-
-
-
- Stopping = ServerStateConst.Stopping,
- }
- internal class ServerStateConst
- {
- public const int NotInitialized = 0;
- public const int Initializing = 1;
- public const int NotStarted = 2;
- public const int Starting = 3;
-
- public const int Running = 4;
-
- public const int Stopping = 5;
- }
- }
|