Example #1
0
 private bool Disconnect()
 {
     if (voipclient.IsConnected() || voipclient.IsConnecting())
     {
         return(voipclient.Disconnect());
     }
     else
     {
         return(false);
     }
 }
Example #2
0
 public bool Disconnect()
 {
     if (m_voipclient.IsConnected() || m_voipclient.IsConnecting())
     {
         bool bStatus = m_voipclient.Disconnect();
         return(bStatus);
     }
     else
     {
         return(false);
     }
 }
Example #3
0
 private bool Disconnect()
 {
     if (m_voipclient.IsConnected() || m_voipclient.IsConnecting())
     {
         bool bStatus = m_voipclient.Disconnect();
         if (bStatus)
         {
             logDebugOnly("Disconnection from Conaito server succeeded\n");
         }
         else
         {
             logDebugOnly("Disconnection from Conaito server failed\n");
         }
         return(bStatus);
     }
     else
     {
         return(false);
     }
 }