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