using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using SuperSocket.SocketBase.Command;
using SuperSocket.SocketBase.Config;
using SuperSocket.SocketBase.Protocol;
namespace SuperSocket.SocketBase
{
///
/// The interface for socket server factory
///
public interface ISocketServerFactory
{
///
/// Creates the socket server instance.
///
/// The type of the request info.
/// The app server.
/// The listeners.
/// The config.
///
ISocketServer CreateSocketServer(IAppServer appServer, ListenerInfo[] listeners, IServerConfig config)
where TRequestInfo : IRequestInfo;
}
}