コード例 #1
0
 protected void Disconnect(ISwitchConnection conn)
 {
     if (conn != null && conn.IsConnected)
     {
         conn.IsConnected = false;
         SendConnection(conn);
     }
 }
コード例 #2
0
 private void InternalSendConnection(ISwitchConnection conn, bool isFirstOne)
 {
     try
     {
         if (conn is SwitchConnection)
         {
             this.ClientApp.Service.SendConnection((SwitchConnection)conn);
         }
         else
         {
             if (conn is ConferenceConnection)
             {
                 this.ClientApp.Service.SendConferenceConnection((ConferenceConnection)conn, isFirstOne);
             }
         }
     }
     catch
     {
     }
 }
コード例 #3
0
 protected void SendConnection(ISwitchConnection conn, bool isFirstOne = false)
 {
     _internalSendConnection.BeginInvoke(conn, isFirstOne, null, null);
 }