/// <summary> /// Client has close connection. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void OnClientDisconnected(object sender, Gurux.Common.ConnectionEventArgs e) { if (Trace > TraceLevel.Warning) { Console.WriteLine("Client Disconnected."); } }
/// <summary> /// Client has made connection. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void OnClientConnected(object sender, Gurux.Common.ConnectionEventArgs e) { //Reset server settings when connection is established. this.Reset(); if (Trace > TraceLevel.Warning) { Console.WriteLine("Client Connected."); } }
/// <summary> /// Client has made connection. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void OnClientConnected(object sender, Gurux.Common.ConnectionEventArgs e) { Console.WriteLine("Client Connected."); }
/// <summary> /// Client has close connection. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void OnClientDisconnected(object sender, Gurux.Common.ConnectionEventArgs e) { //Reset server settings when connection closed. this.Reset(); Console.WriteLine("Client Disconnected."); }