Exemplo n.º 1
0
 public ReceiverHandler(PeerHash peer, ReceiverConnection connection, ReceiverConfiguration configuration, ReceiverHooks hooks)
 {
     this.peer          = peer;
     this.hooks         = hooks;
     this.connection    = connection;
     this.configuration = configuration;
 }
Exemplo n.º 2
0
        public void StartProcessing(PeerHash peer, NetworkConnection connection)
        {
            ReceiverConnection wrapped = new ReceiverConnection(connection);
            ReceiverHandler    handler = new ReceiverHandler(peer, wrapped, configuration, hooks);

            handler.Execute();
        }