Пример #1
0
        public HttpNodeConnector(CommunicationNode node, int port, bool startListening)
            : base (node)
        {
            Client = new WebClient();
            Listener = new HttpListener();
            Listener.Prefixes.Add("http://*:" + port + "/");

            if (startListening) Start();
        }
Пример #2
0
 public DirectNodeConnector(CommunicationNode destNode)
     : base (destNode)
 { }
Пример #3
0
 public BaseNodeConnector(CommunicationNode node)
 {
     DestinationNode = node;
 }