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

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

            NotifyDisconnected?.Invoke();
        }