1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Reflection;
- using System.Text;
- using SuperSocket.SocketBase.Logging;
- using SuperSocket.SocketBase.Command;
- using SuperSocket.SocketBase.Config;
- using SuperSocket.SocketBase.Protocol;
- using SuperWebSocket.Config;
- using SuperSocket.SocketBase;
- namespace SuperWebSocket.SubProtocol
- {
-
-
-
-
- public interface ISubProtocol<TWebSocketSession>
- where TWebSocketSession : WebSocketSession<TWebSocketSession>, new()
- {
-
-
-
-
-
-
-
- bool Initialize(IAppServer appServer, SubProtocolConfig protocolConfig, ILog logger);
-
-
-
- string Name { get; }
-
-
-
- IRequestInfoParser<SubRequestInfo> SubRequestParser { get; }
-
-
-
-
-
-
- bool TryGetCommand(string name, out ISubCommand<TWebSocketSession> command);
- }
- }
|