Package org.astrogrid.samp.xmlrpc.apache
Class ApacheClientFactory
java.lang.Object
org.astrogrid.samp.xmlrpc.apache.ApacheClientFactory
- All Implemented Interfaces:
SampXmlRpcClientFactory
SampXmlRpcClientFactory implementation based on Apache XMLRPC classes.
- Since:
- 16 Sep 2008
- Author:
- Mark Taylor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateClient
(URL endpoint) Returns an XML-RPC client implementation.
-
Constructor Details
-
ApacheClientFactory
public ApacheClientFactory()
-
-
Method Details
-
createClient
Description copied from interface:SampXmlRpcClientFactory
Returns an XML-RPC client implementation.- Specified by:
createClient
in interfaceSampXmlRpcClientFactory
- Parameters:
endpoint
- XML-RPC server endpoint- Returns:
- client which can communicate with the given endpoint
- Throws:
IOException
-