org.chorem.jtimer.ws.xmlrpc
Class AbstractXMLRPCClient

java.lang.Object
  extended by org.chorem.jtimer.ws.xmlrpc.AbstractXMLRPCClient
Direct Known Subclasses:
ChoremXMLRPCClient

public abstract class AbstractXMLRPCClient
extends Object

AbstractXMLRPCClient

Version:
$Revision: 2518 $ Last update : $Date: 2009-05-22 13:17:51 +0200 (ven. 22 mai 2009) $ By : $Author: chatellier $
Author:
chatellier

Constructor Summary
AbstractXMLRPCClient()
           
 
Method Summary
protected  Object get(String serviceName, Object... args)
          Make get service call.
protected abstract  String getEndpoint()
          Get endpoint address.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractXMLRPCClient

public AbstractXMLRPCClient()
Method Detail

getEndpoint

protected abstract String getEndpoint()
Get endpoint address.

Returns:
endpoint address

get

protected Object get(String serviceName,
                     Object... args)
              throws org.apache.xmlrpc.XmlRpcException
Make get service call.

Parameters:
serviceName - method to call
args - method arguments
Returns:
result remote method result
Throws:
org.apache.xmlrpc.XmlRpcException - when there is an exception


Copyright © 2007-2009 CodeLutin. All Rights Reserved.