OctoTorrent.Client.PeerListener.RaiseConnectionReceived C# (CSharp) Method

RaiseConnectionReceived() protected method

protected RaiseConnectionReceived ( Peer peer, IConnection connection, TorrentManager manager ) : void
peer Peer
connection IConnection
manager TorrentManager
return void
        protected virtual void RaiseConnectionReceived(Peer peer, IConnection connection, TorrentManager manager)
        {
            if (ConnectionReceived != null)
                Toolbox.RaiseAsyncEvent(ConnectionReceived, this, new NewConnectionEventArgs(peer, connection, manager));
        }