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