private boolean isSelected(ServerBean entry) { if (getSelectedServer().getHostname().equals(entry.getHostname()) && getSelectedServer().getPort() == entry.getPort()) { return Boolean.TRUE; } return Boolean.FALSE; }
private void handlePingAction(ServerBean entry) { entry.setPingOk(pingServer(entry.getHostname(), entry.getPort())); }