Пример #1
0
        internal void CancelKeep(ClientCommand.Command command, int commandIndex)
        {
            ClientSocketSender sender = Sender;

            if (sender == null)
            {
                CommandPool.Cancel(commandIndex, command);
            }
            else if (sender.IsSocket && CommandPool[commandIndex] == command)
            {
                CancelKeep(commandIndex);
            }
        }
Пример #2
0
 internal void SetSender(ClientSocketSender sender)
 {
     base.Sender = Sender = sender;
 }