@Test public void testIsTimeoutIfNoResponseReceived() { CommandResult commandResult = new CommandResult(ZigBeeStatus.FAILURE, null); assertTrue(commandResult.isTimeout()); }
public boolean isTimeout() { return commandSentSuccessfully != ZigBeeStatus.SUCCESS; }
CommandResult { public boolean isTimeout() { return commandSentSuccessfully != ZigBeeStatus.SUCCESS; } }
CommandResult { public boolean isTimeout() { return commandSentSuccessfully != ZigBeeStatus.SUCCESS; } @Deprecated  CommandResult(final ZigBeeCommand response);  CommandResult(final ZigBeeStatus commandSentSuccessfully, final ZigBeeCommand response); @Deprecated  CommandResult(); }
CommandResult { public boolean isTimeout() { return commandSentSuccessfully != ZigBeeStatus.SUCCESS; } @Deprecated  CommandResult(final ZigBeeCommand response);  CommandResult(final ZigBeeStatus commandSentSuccessfully, final ZigBeeCommand response); @Deprecated  CommandResult(); boolean isSuccess(); boolean isTimeout(); boolean isError(); Integer getStatusCode(); ZigBeeCommand getResponse(); @Override String toString(); }
CommandResult { public boolean isTimeout() { return commandSentSuccessfully != ZigBeeStatus.SUCCESS; } @Deprecated  CommandResult(final ZigBeeCommand response);  CommandResult(final ZigBeeStatus commandSentSuccessfully, final ZigBeeCommand response); @Deprecated  CommandResult(); boolean isSuccess(); boolean isTimeout(); boolean isError(); Integer getStatusCode(); ZigBeeCommand getResponse(); @Override String toString();  }