Esempio n. 1
0
        public void ResetQueues()
        {
            if (NeedsDispatch)
            {
                NeedsDispatch = false;
            }

            Acknowledgements.Clear();
            SentReliableCommands.Clear();
            SentUnreliableCommands.Clear();
            OutgoingReliableCommands.Clear();
            OutgoingUnreliableCommands.Clear();
            DispatchedCommands.Clear();
            Channels.Clear();
            ChannelCount = 0;
        }
Esempio n. 2
0
        public void ResetQueues()
        {
            if (NeedsDispatch)
            {
                Node.Remove();
                NeedsDispatch = false;
            }

            Acknowledgements.Clear();
            SentReliableCommands.Clear();
            SentUnreliableCommands.Clear();
            OutgoingReliableCommands.Clear();
            OutgoingUnreliableCommands.Clear();
            DispatchedCommands.Clear();

            ResetChannels();
        }