Class InternalClientFactory
java.lang.Object
org.astrogrid.samp.xmlrpc.internal.InternalClientFactory
- All Implemented Interfaces:
SampXmlRpcClientFactory
Freestanding SampXmlRpcClientFactory implementation.
This implementation requires no external libraries.
- 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
-
InternalClientFactory
public InternalClientFactory()
-
-
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
-