123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using SuperSocket.Common;
- using SuperSocket.SocketBase.Protocol;
- using SuperSocket.SocketBase.Config;
- namespace SuperSocket.SocketBase.Command
- {
-
-
-
- public interface ICommandLoader
- {
- }
-
-
-
- public interface ICommandLoader<TCommand> : ICommandLoader
- where TCommand : ICommand
- {
-
-
-
-
-
-
- bool Initialize(IRootConfig rootConfig, IAppServer appServer);
-
-
-
-
-
- bool TryLoadCommands(out IEnumerable<TCommand> commands);
-
-
-
- event EventHandler<CommandUpdateEventArgs<TCommand>> Updated;
-
-
-
- event EventHandler<ErrorEventArgs> Error;
- }
- }
|