Example #1
0
        public ImapServer(int port)
        {
            Port = port;

            Heartbeat          = Heartbeat.Instance;
            _connectionManager = new ConnectionManager(Options.MaxConnections);
            Heartbeat.Add(_connectionManager);
        }
Example #2
0
        public ImapServer(int port)
        {
            Port = port;

            Timeout = (int)TimeSpan.FromMinutes(1).TotalMilliseconds;

            Heartbeat          = Heartbeat.Instance;
            _connectionManager = new ConnectionManager(Options.MaxConnections);
            Heartbeat.Add(_connectionManager);
        }