123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using SuperSocket.SocketBase.Config;
- using SuperSocket.SocketBase.Provider;
- namespace SuperSocket.SocketBase
- {
-
-
-
- public interface IWorkItemBase : IStatusInfoSource, ISystemEndPoint
- {
-
-
-
- string Name { get; }
-
-
-
-
-
-
- IServerConfig Config { get; }
-
-
-
-
- bool Start();
-
-
-
-
- void ReportPotentialConfigChange(IServerConfig config);
-
-
-
- void Stop();
-
-
-
- int SessionCount { get; }
- }
-
-
-
- public interface IWorkItem : IWorkItemBase, IStatusInfoSource
- {
-
-
-
-
-
-
-
- bool Setup(IBootstrap bootstrap, IServerConfig config, ProviderFactoryInfo[] factories);
-
-
-
-
-
-
- ServerState State { get; }
- }
- }
|