IRemoteWorkItem.cs 1.1 KB

1234567891011121314151617181920212223242526272829
  1. using System;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using SuperSocket.SocketBase;
  7. using SuperSocket.SocketBase.Config;
  8. using SuperSocket.SocketBase.Provider;
  9. namespace SuperSocket.SocketEngine
  10. {
  11. /// <summary>
  12. /// IRemoteWorkItem
  13. /// </summary>
  14. public interface IRemoteWorkItem : IWorkItemBase, IStatusInfoSource
  15. {
  16. /// <summary>
  17. /// Setups the specified config.
  18. /// </summary>
  19. /// <param name="serverType">Type of the server.</param>
  20. /// <param name="bootstrapUri">The bootstrap URI.</param>
  21. /// <param name="assemblyImportRoot">The assembly import root.</param>
  22. /// <param name="config">The config.</param>
  23. /// <param name="factories">The factories.</param>
  24. /// <param name="startupConfigFile">The startup configuration file path</param>
  25. /// <returns></returns>
  26. bool Setup(string serverType, string bootstrapUri, string assemblyImportRoot, IServerConfig config, ProviderFactoryInfo[] factories, string startupConfigFile);
  27. }
  28. }