Exemplo n.º 1
0
        // Notify that client disconnected.
        public void NotifyClientDisconnectedEvent()
        {
            ClientEvent handler = NotifyDisconnected;

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

            NotifyDisconnected?.Invoke();
        }