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