IProcessServer.cs 521 B

123456789101112131415161718192021
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace SuperSocket.SocketEngine
  6. {
  7. /// <summary>
  8. /// the interface for server instance which works as a process
  9. /// </summary>
  10. public interface IProcessServer
  11. {
  12. /// <summary>
  13. /// Gets the process id.
  14. /// </summary>
  15. /// <value>
  16. /// The process id. If the process id is zero, the server instance is not running
  17. /// </value>
  18. int ProcessId { get; }
  19. }
  20. }