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); } }
internal void SetSender(ClientSocketSender sender) { base.Sender = Sender = sender; }