Examples of ping()


Examples of aleph.Host.ping()

      }
      for (int i = 0; i < count; i++) {
  Host host = new Host(hosts[i]);
  System.out.print("\t");
  System.out.print(host);
  if (host.ping())
    System.out.println(" OK");
  else
    System.out.println(" not responding");
      }
      System.exit(0);
View Full Code Here

Examples of ch.ethz.inf.vs.californium.CoapClient.ping()

    }

    if (first==1) {
      CoapClient clientPing = new CoapClient(uri);
      System.out.println("===============\nCC31\n---------------");
      if (!clientPing.ping(2000)) {
        System.out.println(uri + " does not respond to ping, exiting...");
        System.exit(-1);
      } else {
        System.out.println(uri + " reponds to ping");
       
View Full Code Here

Examples of com.dci.intellij.dbn.connection.ConnectionHandler.ping()

            setUserValue(userValue);
            ConnectionHandler connectionHandler = getConnectionHandler();
            if (!row.isInsert() && !connectionHandler.isAutoCommit()) {
                isModified = true;
                row.setModified(true);
                connectionHandler.ping(false);
            }
        }
    }

    public boolean matches(DatasetEditorModelCell remoteCell, boolean lenient) {
View Full Code Here

Examples of com.ericsson.otp.erlang.OtpNode.ping()

          Thread.sleep(delay);
        // At this point, the process may have not yet started or
        // already terminated, it is easy to find out which of the
        // two has happened by doing
        int timeout = serverTimeout;
        while (!self.ping(traceRunnerNode, 500) && timeout > 0) {
          try {
            erlangProcess.exitValue();
            // process terminated, record this as a failure
            timeout = 0;
          } catch (IllegalThreadStateException e) {
View Full Code Here

Examples of com.esri.gpt.catalog.harvest.clients.HRClient.ping()

  @Deprecated
  public final void checkConnection(String url)
      throws HRInvalidProtocolException, HRConnectionException {
    HRClient client = getClient(url);
    if (client != null) {
      client.ping();
    }
  }

  /**
   * Pings resource.
View Full Code Here

Examples of com.gitblit.fanout.FanoutClient.ping()

      }
    });
    client.startSynchronously();

    // ping and wait for pong
    client.ping();
    Thread.sleep(500);

    // restart client
    client.stop();
    Thread.sleep(1000);
View Full Code Here

Examples of com.ipc.oce.OCApp.ping()

    }
   
    if (app1 == null) { // если sessionID == -1 или сессия удалена
      sessionID = createConnection();
      app1 = OCApp.getInstance(sessionID);
    } else if (!(app1.ping())) {
      try {
        app1.exit();
      } catch (Exception e) { // да и хрен с нимим с битыми ссылками
      }
      sessionID = createConnection();
View Full Code Here

Examples of com.salas.bb.service.ServerService.ping()

            LOG.fine("Sending statistical information");

            try
            {
                ServerService ss = ServerService.getInstance();
                ss.ping(installationId, version, runs, OS_NAME, JAVA_VERSION, accountEmail,
                    accountPassword);

                infoSent = true;

                LOG.finer("Statistical information successfully sent.");
View Full Code Here

Examples of com.sap.conn.jco.JCoDestination.ping()

  }
 
  private void testDestination() {
    try {
      JCoDestination jcoDestination = JCoDestinationManager.getDestination(destinationName);
      jcoDestination.ping();
      append2Console(NLS.bind(Messages.TestDestinationDialog_7, destinationName));
    } catch (JCoException e) {
      append2Console("\n" + e.getMessage()); //$NON-NLS-1$
    }
  }
View Full Code Here

Examples of com.sun.enterprise.ee.admin.hadbmgmt.HADBPingAgent.ping()

            getLogger().log(Level.INFO, s);
            info = new HADBInfo(hosts, agentPort, haAdminPassword, haAdminPasswordFile,
                clusterName, getLogger(), getConfigContext(), getMBeanServer());
            info.setup();
            HADBPingAgent pinger = new HADBPingAgent(info);
            return pinger.ping();
        }
        catch(HADBSetupException hse)
        {
            throw hse;
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.