예제 #1
0
 /// <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.");
     }
 }
예제 #2
0
 /// <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.");
     }
 }
예제 #3
0
 /// <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.");
 }
예제 #4
0
 /// <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.");
 }