/** Sends a command by breaking it into entries and sending each entry. */ private void sendCommand(BaseCommand<?> command, int maxSendAttempts) { for (Entry entry : EntryDispatcher.toEntries(command)) sendEntry(entry, maxSendAttempts); }