public virtual void DisConnect()
 {
     if (this.transportType == TransportType.TCP)
     {
         kdcTransport.Disconnect();
     }
 }
 /// <summary>
 /// Disconnect with a target client.
 /// </summary>
 /// <param name="kileConnection">The connection with the target client.</param>
 /// <exception cref="System.ArgumentNullException">Thrown when the input parameter is null.</exception>
 public void Disconnect(KileConnection kileConnection)
 {
     if (kileConnection == null)
     {
         throw new ArgumentNullException("kileConnection");
     }
     transport.Disconnect(kileConnection.TargetEndPoint);
     DeleteServerContextByConnection(kileConnection);
 }