SIPSorcery.SIP.SIPTLSChannel.SIPTLSSocketDisconnected C# (CSharp) Method

SIPTLSSocketDisconnected() private method

private SIPTLSSocketDisconnected ( IPEndPoint remoteEndPoint ) : void
remoteEndPoint System.Net.IPEndPoint
return void
        private void SIPTLSSocketDisconnected(IPEndPoint remoteEndPoint)
        {
            try
            {
                logger.Debug("TLS socket from " + remoteEndPoint + " disconnected.");

                lock (m_connectedSockets)
                {
                    m_connectedSockets.Remove(remoteEndPoint.ToString());
                }

                m_connectingSockets.Remove(remoteEndPoint.ToString());
            }
            catch (Exception excp)
            {
                logger.Error("Exception SIPTLSClientDisconnected. " + excp);
            }
        }