Class RpcLoggingInternalClientFactory
- java.lang.Object
-
- org.astrogrid.samp.xmlrpc.internal.RpcLoggingInternalClientFactory
-
- All Implemented Interfaces:
SampXmlRpcClientFactory
public class RpcLoggingInternalClientFactory extends java.lang.Object implements SampXmlRpcClientFactory
Freestanding ClientFactory implementation which logs all XML-RPC calls/responses to standard output.- Since:
- 2 Dec 2008
- Author:
- Mark Taylor
-
-
Constructor Summary
Constructors Constructor Description RpcLoggingInternalClientFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SampXmlRpcClient
createClient(java.net.URL endpoint)
Returns an XML-RPC client implementation.
-
-
-
Method Detail
-
createClient
public SampXmlRpcClient createClient(java.net.URL endpoint) throws java.io.IOException
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:
java.io.IOException
-
-