Package org.apache.xmlrpc

Examples of org.apache.xmlrpc.XmlRpcClient.executeAsync()


            params.addElement( engine.getURL( WikiContext.VIEW, blogName, null, true ) );

            if( log.isDebugEnabled() )
                log.debug("Pinging weblogs.com with URL: "+engine.getURL( WikiContext.VIEW, blogName, null, true ));

            xmlrpc.executeAsync("weblogUpdates.ping", params,
                                new AsyncCallback()
                                {
                                    public void handleError( Exception ex,
                                                             URL url,
                                                             String method )
View Full Code Here


            params.addElement( engine.getURL( WikiContext.VIEW, blogName, null, true ) );

            if( log.isDebugEnabled() )
                log.debug("Pinging weblogs.com with URL: "+engine.getURL( WikiContext.VIEW, blogName, null, true ));

            xmlrpc.executeAsync("weblogUpdates.ping", params,
                                new AsyncCallback()
                                {
                                    public void handleError( Exception ex,
                                                             URL url,
                                                             String method )
View Full Code Here

        blog.info("Sending XML-RPC ping to " + StringUtils.transformHTML(site));
        XmlRpcClient xmlrpc = new XmlRpcClient(site);
        Vector params = new Vector();
        params.addElement(blog.getName());
        params.addElement(url);
        xmlrpc.executeAsync(WEBLOGS_METHOD_NAME, params, new UpdateNotificationPingsAsyncCallback(blog));
      }
    } catch (IOException ioe) {
      log.error(ioe.getMessage(), ioe);
    }
  }
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.