public HandleClient(TcpClient tcpClient, string clientNum, NodeManager nodeManager) { this._nodeManager = nodeManager; this.tcpClient = tcpClient; this.clientNum = clientNum; }
public OPCUAServerBasic(string ip, int port) { tcplistener = new TcpListener(IPAddress.Parse(ip), port); _nodeManger = new NodeManager(); Console.WriteLine("OPCUA server: {0} {1} ", ip, port); }