Esempio n. 1
0
        private void OnBannedConnection(BannedConnectionEventArgs e)
        {
            var handler = BannedConnection;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Esempio n. 2
0
 private void OnBannedConnection(object sender, BannedConnectionEventArgs e)
 {
     _logger.Debug("Rejected connection from banned ip: {0:l}", e.Endpoint.Address.ToString());
 }
Esempio n. 3
0
        private void OnBannedConnection(BannedConnectionEventArgs e)
        {
            var handler = BannedConnection;

            if (handler != null)
                handler(this, e);
        }