/** * Common interface for server. * * @template State Type of state * @author Jeongho Nam - https://github.com/samchon */ export interface IServer { /** * Current state of the server. */ readonly state: State; } export namespace IServer { export const enum State { NONE = -1, OPENING, OPEN, CLOSING, CLOSED, } }