public void Register(NetworkNodeInfo info) { var client = new TcpNodeServiceClient(info); var neighbors = client.Register(NodeService.Info); NodeService.UpdateNodes(neighbors); }
public NetworkNodeManager(string tcpAddress,int tcpPort, string pipeName) { _tcpPort = tcpPort; _pipeName = pipeName; NodeService = new NodeService(tcpAddress, _tcpPort, _pipeName); }
public NetworkNodeManager(string tcpAddress) { NodeService = new NodeService(tcpAddress, _tcpPort, _pipeName); }
public NetworkNodeManager(string tcpAddress, int tcpPort, string pipeName) { _tcpPort = tcpPort; _pipeName = pipeName; NodeService = new NodeService(tcpAddress, _tcpPort, _pipeName); }