Beispiel #1
0
        public SearchForm(DhtNetwork network)
        {
            InitializeComponent();

            if(network.Core.Sim != null)
                Sim = network.Core.Sim.Internet;

            Network = network;

            Text = "Search (" + Network.GetLabel() + ")";

            OnUpdateList = new UpdateListHandler(UpdateList);
        }
Beispiel #2
0
        public GraphForm(DhtNetwork network)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            Network = network;
            Core = Network.Core;
            Routing = Network.Routing;

            Network.UpdateBandwidthGraph += AsyncUpdateGraph;

            Text = "Graph (" + Network.GetLabel() + ")";

            Redraw = true;
        }
Beispiel #3
0
        public CrawlerForm(DhtNetwork network)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            Core = network.Core;
            Network = network;
            Routing = Network.Routing;

            Network.CrawlerSearchAck += Receive_SearchAck;
            Network.CrawlerAck  += Receive_CrawlAck;

            Text = "Crawler (" + Network.GetLabel() + ")";

            NodeList.ListViewItemSorter = lvwColumnSorter;
        }
Beispiel #4
0
        public PacketsForm(DhtNetwork network)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            Network = network;

            Protocol = new G2Protocol();

            Text = "Packets (" + Network.GetLabel() + ")";

            RefreshView();

            Network.UpdatePacketLog += AsyncUpdateLog;
        }