Examples of PingRequest


Examples of com.ean.wsapi.hotel.v3.PingRequest

    /**
     * An empty constructor with request initialization.
     */
    public GetPingBuilder() {
        request = new PingRequest();
        baseHotelInit(request);
    }
View Full Code Here

Examples of com.mcbans.firestar.mcbans.request.PingRequest

        /* Check response time */
        if (first.equalsIgnoreCase("ping")){
            if (!Perms.ADMIN.has(sender)){
                throw new CommandException(ChatColor.RED + _("permissionDenied"));
            }
            PingRequest request = new PingRequest(plugin, new MessageCallback(plugin, sender));
            (new Thread(request)).start();
            return;
        }
        /* Sync banned-players.txt */
        if (first.equalsIgnoreCase("sync")){
View Full Code Here

Examples of interopbaseaddress.interop.PingRequest

                if (portPrefix.charAt(0) == '_') {
                    //MS would like the _ versions to send a cancel
                    ((BindingProvider)port).getRequestContext()
                        .put(SecurityConstants.STS_TOKEN_DO_CANCEL, Boolean.TRUE);
                }
                PingRequest params = new PingRequest();
                Ping ping = new Ping();
                ping.setOrigin("CXF");
                ping.setScenario("Scenario5");
                ping.setText("ping");
                params.setPing(ping);
                PingResponse output = port.ping(params);
                if (!OUT.equals(output.getPingResponse().getText())) {
                    System.err.println(
                        "Expected " + OUT + " but got " + output.getPingResponse().getText()
                    );
View Full Code Here

Examples of interopbaseaddress.interop.PingRequest

                if (portPrefix.charAt(0) == '_') {
                    //MS would like the _ versions to send a cancel
                    ((BindingProvider)port).getRequestContext()
                        .put(SecurityConstants.STS_TOKEN_DO_CANCEL, Boolean.TRUE);
                }
                PingRequest params = new PingRequest();
                Ping ping = new Ping();
                ping.setOrigin("CXF");
                ping.setScenario("Scenario5");
                ping.setText("ping");
                params.setPing(ping);
                PingResponse output = port.ping(params);
                if (!OUT.equals(output.getPingResponse().getText())) {
                    System.err.println(
                        "Expected " + OUT + " but got " + output.getPingResponse().getText()
                    );
View Full Code Here

Examples of interopbaseaddress.interop.PingRequest

                if (portPrefix.charAt(0) == '_') {
                    //MS would like the _ versions to send a cancel
                    ((BindingProvider)port).getRequestContext()
                        .put(SecurityConstants.STS_TOKEN_DO_CANCEL, Boolean.TRUE);
                }
                PingRequest params = new PingRequest();
                Ping ping = new Ping();
                ping.setOrigin("CXF");
                ping.setScenario("Scenario5");
                ping.setText("ping");
                params.setPing(ping);
                PingResponse output = port.ping(params);
                if (!OUT.equals(output.getPingResponse().getText())) {
                    System.err.println(
                        "Expected " + OUT + " but got " + output.getPingResponse().getText()
                    );
View Full Code Here

Examples of lineage2.gameserver.network.loginservercon.lspackets.PingRequest

        break;
      case 0x06:
        packet = new ChangePasswordResponse();
        break;
      case 0xff:
        packet = new PingRequest();
        break;
      default:
        _log.error("Received unknown packet: " + Integer.toHexString(id));
    }
    return packet;
View Full Code Here

Examples of lineage2.loginserver.gameservercon.lspackets.PingRequest

          closeNow();
          return;
        }
      }
      _pingRetry++;
      sendPacket(new PingRequest());
    }
View Full Code Here

Examples of net.kuujo.copycat.protocol.PingRequest

      return pingFutures.lastEntry().getValue();
    }

    pingFutures.put(index, future);

    PingRequest request = new PingRequest(state.nextCorrelationId(), state.currentTerm(), state.cluster().localMember().id(), index, log.containsEntry(index) ? log.<CopycatEntry>getEntry(index).term() : 0, state.commitIndex());
    LOGGER.debug("{} - Sent {} to {}", state.clusterManager().localNode(), request, node);
    node.client().ping(request).whenComplete((response, error) -> {
      if (error != null) {
        triggerPingFutures(index, error);
      } else {
View Full Code Here

Examples of org.apache.hadoop.hdfs.protocol.ClientProxyRequests.PingRequest

  @Benchmark
  public void pingLatency(OutputStreamWriter results) throws Exception {
    results.write(new MeanDevAccumulator().addResults(new TimedCallable() {
      @Override
      public void callTimed() throws Exception {
        proxyTClientProxyProtocol.ping(new PingRequest(metaInfo));
      }
    }, WARMUP_SAMPLES, MEASURED_SAMPLES).report());
    results.write("  |  ");

    results.write(new MeanDevAccumulator().addResults(new TimedCallable() {
      @Override
      public void callTimed() throws Exception {
        proxyClientProxyProtocol.ping(new PingRequest(metaInfo));
      }
    }, WARMUP_SAMPLES, MEASURED_SAMPLES).report());
    results.write("  |  ");

    results.write(new MeanDevAccumulator().addResults(new TimedCallable() {
      @Override
      public void callTimed() throws Exception {
        directClientProxyProtocol.ping(new PingRequest(metaInfo));
      }
    }, WARMUP_SAMPLES, MEASURED_SAMPLES).report());
  }
View Full Code Here

Examples of org.ardverk.dht.message.PingRequest

    }
 
    @Override
    public void ping() throws IOException {
      MessageFactory factory = getMessageFactory();
      PingRequest request = factory.createPingRequest(address);
     
      long timeout = config.getPingTimeout(TimeUnit.MILLISECONDS);
      send(contactId, request, timeout, TimeUnit.MILLISECONDS);
    }
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.