Пример #1
0
        private void OnBannedConnection(BannedConnectionEventArgs e)
        {
            var handler = BannedConnection;

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

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