Package com.discoverydns.dnsapiclient

Examples of com.discoverydns.dnsapiclient.DNSAPIClient.process()


            System.exit(1);
        }

        //Send command to server and receive response
        try {
            Response<ZoneCreateResponse> response = client.process(command);

            System.out.println("== Successful response ==");
            System.out.println("== Server transaction id: " + response.getServerTransactionId());
            System.out.println("== Client transaction id: " + response.getClientTransactionId());
            System.out.println("== Processing time: " + response.getTransactionProcessingTime() + "ms");
View Full Code Here


    final MessageGetCommand command = new MessageGetCommand.Builder()
        .withId("<my-message-id>").build();

    // Send command to server and receive response
    try {
      Response<MessageGetResponse> response = client.process(command);

      System.out.println("== Successful response ==");
      System.out.println("== Server transaction id: "
          + response.getServerTransactionId());
      System.out.println("== Client transaction id: "
View Full Code Here

                        .withIdOrIdentifier("system")
                        .build();

        //Send command to server and receive response
        try {
            Response<AccountGetResponse> response = client.process(command);

            System.out.println("== Successful response ==");
            System.out.println("== Server transaction id: " + response.getServerTransactionId());
            System.out.println("== Client transaction id: " + response.getClientTransactionId());
            System.out.println("== Processing time: " + response.getTransactionProcessingTime() + "ms");
View Full Code Here

                        .withId("<my-zone-id>")
                        .build();

        //Send command to server and receive response
        try {
            Response<ZoneGetResponse> response = client.process(command);

            System.out.println("== Successful response ==");
            System.out.println("== Server transaction id: " + response.getServerTransactionId());
            System.out.println("== Client transaction id: " + response.getClientTransactionId());
            System.out.println("== Processing time: " + response.getTransactionProcessingTime() + "ms");
View Full Code Here

                        .withIdOrName("<my-nss-id>")
                        .build();

        //Send command to server and receive response
        try {
            Response<NameServerSetGetResponse> response = client.process(command);

            System.out.println("== Successful response ==");
            System.out.println("== Server transaction id: " + response.getServerTransactionId());
            System.out.println("== Client transaction id: " + response.getClientTransactionId());
            System.out.println("== Processing time: " + response.getTransactionProcessingTime() + "ms");
View Full Code Here

                    .withId("<my-message-id>")
                    .build();

        //Send command to server and receive response
        try {
            Response<MessageAcknowledgeResponse>  response = client.process(command);

            System.out.println("== Successful response ==");
            System.out.println("== Server transaction id: " + response.getServerTransactionId());
            System.out.println("== Client transaction id: " + response.getClientTransactionId());
            System.out.println("== Processing time: " + response.getTransactionProcessingTime() + "ms");
View Full Code Here

    final MessagePollCommand command = new MessagePollCommand.Builder()
        .build();

    // Send command to server and receive response
    try {
      Response<MessagePollResponse> response = client.process(command);

      System.out.println("== Successful response ==");
      System.out.println("== Server transaction id: "
          + response.getServerTransactionId());
      System.out.println("== Client transaction id: "
View Full Code Here

            .withId("<my-zone-id>")
          .build();
       
      //Send command to server and receive response
        try {
          Response<ZoneGetZoneFileResponse> response = client.process(command);

            System.out.println("== Successful response ==");
            System.out.println("== Server transaction id: " + response.getServerTransactionId());
            System.out.println("== Client transaction id: " + response.getClientTransactionId());
            System.out.println("== Processing time: " + response.getTransactionProcessingTime() + "ms");
View Full Code Here

                        .withSearchGroupUsage(false)
                        .build();

        //Send command to server and receive response
        try {
            Response<ZoneGetQueryUsageResponse> response = client.process(command);

            System.out.println("== Successful response ==");
            System.out.println("== Server transaction id: " + response.getServerTransactionId());
            System.out.println("== Client transaction id: " + response.getClientTransactionId());
            System.out.println("== Processing time: " + response.getTransactionProcessingTime() + "ms");
View Full Code Here

            System.exit(1);
        }

        //Send command to server and receive response
        try {
            Response<ZoneUpdateResourceRecordsResponse> response = client.process(command);

            System.out.println("== Successful response ==");
            System.out.println("== Server transaction id: " + response.getServerTransactionId());
            System.out.println("== Client transaction id: " + response.getClientTransactionId());
            System.out.println("== Processing time: " + response.getTransactionProcessingTime() + "ms");
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.