Examples of PingResponse


Examples of com.cribbstechnologies.clients.mandrill.model.response.users.PingResponse

     * @param pingRequest
     *            a populated @see com.cribbstechnologies.clients.mandrill.model.BaseMandrillRequest
     * @throws RequestFailedException
     */
    public PingResponse performPing2(BaseMandrillRequest pingRequest) throws RequestFailedException {
        PingResponse response = (PingResponse) request.postRequest(pingRequest, ServiceMethods.Users.PING2, null);
        return response;
    }
View Full Code Here

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

     * SOAP service should be used.
     */
    @Test
    public void shouldRetrieveTheSameEcho() throws EanWsException {
        final String echo = UUID.randomUUID().toString();
        final PingResponse response = Expedia.getPing().echo(echo).call();
        assertThat("Echo from response should be equal to input.",
                response.getEcho(), is(equalTo(echo)));

        // SERVER INFO ATTRIBUTES
        final ServerInfo info = response.getServerInfo();
        assertThat("Server time should not be empty.",
                info.getServerTime(), is(notNullValue()));
        assertThat("Timestamp should not be empty.",
                info.getTimestamp(), is(notNullValue()));
        assertThat("Server instance should not be empty.",
View Full Code Here

Examples of interopbaseaddress.interop.PingResponse

        // TODO Auto-generated method stub
        return null;
    }

    public PingResponse ping(PingRequest parameters) {
        PingResponse resp = new PingResponse();
        PingResponseBody body = new PingResponseBody();
        body.setOrigin("CXF");
        body.setScenario(parameters.getPing().getScenario());
        body.setText(parameters.getPing().getOrigin() + " : "
                     + parameters.getPing().getText());
        resp.setPingResponse(body);
        return resp;
    }
View Full Code Here

Examples of interopbaseaddress.interop.PingResponse

                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()
                    );
                    results.add("Unexpected output " + output.getPingResponse().getText());
                } else {
                    System.out.println(portPrefix + ": OK!");
                    results.add("OK!");
                }
            } catch (Throwable t) {
View Full Code Here

Examples of lineage2.gameserver.network.loginservercon.gspackets.PingResponse

   * Method runImpl.
   */
  @Override
  protected void runImpl()
  {
    LoginServerCommunication.getInstance().sendPacket(new PingResponse());
  }
View Full Code Here

Examples of lineage2.loginserver.gameservercon.gspackets.PingResponse

          break;
        case 0x17:
          packet = new Player2ndAuthSetBanTime();
          break;
        case 0xff:
          packet = new PingResponse();
          break;
        default:
          _log.error("Received unknown packet: " + Integer.toHexString(id));
      }
    }
View Full Code Here

Examples of net.timewalker.ffmq3.transport.packet.response.PingResponse

    }
   
    private PingResponse processPing( PingQuery query ) throws JMSException
    {
      getLocalConnection(); // Make sure a connection was established
      return new PingResponse();
    }
View Full Code Here

Examples of net.timewalker.ffmq3.transport.packet.response.PingResponse

            case R_CLOSE_CONSUMER:            return new CloseConsumerResponse();
            case Q_UNSUBSCRIBE:               return new UnsubscribeQuery();
            case R_UNSUBSCRIBE:               return new UnsubscribeResponse();
            case Q_PREFETCH:                  return new PrefetchQuery();
            case Q_PING:                      return new PingQuery();
            case R_PING:                      return new PingResponse();
            case Q_ROLLBACK_MESSAGE:          return new RollbackMessageQuery();
            case R_ROLLBACK_MESSAGE:          return new RollbackMessageResponse();
            case Q_MULTIPLE_PUT:              return new MultiplePutQuery();
            case R_MULTIPLE_PUT:              return new MultiplePutResponse();
            case Q_ASYNC_ACKNOWLEDGE:         return new AsyncAcknowledgeQuery();
View Full Code Here

Examples of org.apache.axis2.oasis.ping.databinding.org.xmlsoap.PingResponse

         */
        public  PingResponseDocument Ping
                  (PingDocument param0 ){
                PingResponseDocument response = PingResponseDocument.Factory.newInstance();
            PingResponse pingRes = response.addNewPingResponse();
            pingRes.setText("Response: " + param0.getPing().getText());
            return response;
        }
View Full Code Here

Examples of org.apache.handler_test.types.PingResponse

                    if (outbound) {
                        LogicalMessage msg = ctx.getMessage();
                        assertNotNull("logical message is null", msg);
                        JAXBContext jaxbCtx = JAXBContext.newInstance(PackageUtils
                            .getPackageName(PingOneWay.class));
                        PingResponse resp = new PingResponse();
                        resp.getHandlersInfo().add(clientHandlerMessage);

                        msg.setPayload(resp, jaxbCtx);
                        return false;
                    }
                } catch (Exception e) {
                    e.printStackTrace();
                    fail(e.toString());
                }
                return true;
            }
        };
        TestHandler<LogicalMessageContext> handler3 = new TestHandler<LogicalMessageContext>(false);
        TestSOAPHandler soapHandler1 = new TestSOAPHandler(false);

        addHandlersToChain((BindingProvider)handlerTest, handler1, handler2, handler3, soapHandler1);

        List<String> resp = handlerTest.ping();
        assertEquals(clientHandlerMessage, resp.get(0));

        assertEquals("the first handler must be invoked twice", 2, handler1.getHandleMessageInvoked());
        assertEquals("the second handler must be invoked once only on outbound", 1, handler2
            .getHandleMessageInvoked());
        assertEquals("the third handler must not be invoked", 0, handler3.getHandleMessageInvoked());
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.