using System; using System.Collections.Generic; using System.Linq; using System.Text; using SuperSocket.SocketBase; using SuperSocket.SocketBase.Command; using SuperSocket.SocketBase.Protocol; namespace SuperWebSocket.SubProtocol { /// /// SubCommand interface /// /// The type of the web socket session. public interface ISubCommand : ICommand where TWebSocketSession : WebSocketSession, new() { /// /// Executes the command. /// /// The session. /// The request info. void ExecuteCommand(TWebSocketSession session, SubRequestInfo requestInfo); } }