DisconnectNotify() private method

private DisconnectNotify ( bool conLost ) : void
conLost bool
return void
コード例 #1
0
ファイル: Client.cs プロジェクト: WCell/WCell-UtilityBot
 public void OnDisconnecting(Connection con, bool conLost)
 {
     m_queue.Clear();
     if (IsConnected)
     {
         SendNow("QUIT :" + IrcClient.QuitReason + "\n");
         Thread.Sleep(100);
     }
     m_irc.Reset();
     m_irc.DisconnectNotify(conLost);
 }