Exemple #1
0
        // Notify that client disconnected.
        public void NotifyClientDisconnectedEvent()
        {
            ClientEvent handler = NotifyDisconnected;

            NotifyDisconnected?.Invoke();
        }
Exemple #2
0
        // Notify that server close.
        public void NotifyServerDisconnectedEvent()
        {
            ServerEvent handler = NotifyDisconnected;

            NotifyDisconnected?.Invoke();
        }