private static void SessionClosingMethod(object sender, OpcSessionEventArgs e) { connectedClients--; Console.WriteLine($"A session is closing..."); Console.WriteLine($"Number of clients: " + connectedClients); }
private static void SessionMethod(object sender, OpcSessionEventArgs e) { connectedClients++; Console.WriteLine($"New session started"); Console.WriteLine($"Number of clients: " + connectedClients); }
private static void sessionCreatedMethod(object sender, OpcSessionEventArgs eArgs) { Console.WriteLine("Hello from sessionCreatedMethod!"); }