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

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

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