private DisconnectNotify ( bool conLost ) : void | ||
conLost | bool | |
Résultat | void |
internal void DisconnectNotify(bool conLost)
{
OnDisconnected(conLost);
var evt = Disconnected;
if (evt != null)
{
evt(this, conLost);
}
AuthMgr.Cleanup();
}
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); }