using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SuperSocket.SocketBase;
using SuperSocket.SocketBase.Config;
using SuperSocket.SocketBase.Provider;
namespace SuperSocket.SocketEngine
{
///
/// IRemoteWorkItem
///
public interface IRemoteWorkItem : IWorkItemBase, IStatusInfoSource
{
///
/// Setups the specified config.
///
/// Type of the server.
/// The bootstrap URI.
/// The assembly import root.
/// The config.
/// The factories.
/// The startup configuration file path
///
bool Setup(string serverType, string bootstrapUri, string assemblyImportRoot, IServerConfig config, ProviderFactoryInfo[] factories, string startupConfigFile);
}
}