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