Debian Codegraph @

src/java/org/astrogrid/samp/xmlrpc/SampXmlRpcClientFactory.java

raw
1 package org.astrogrid.samp.xmlrpc;
2
3 import java.io.IOException;
4 import java.net.URL;
5
6 /**
7 * Defines a factory which can create clients for communication with
8 * XML-RPC servers.
9 *
10 * @author Mark Taylor
11 * @since 16 Sep 2008
12 */
13 public interface SampXmlRpcClientFactory {
14
15 /**
16 * Returns an XML-RPC client implementation.
17 *
18 * @param endpoint XML-RPC server endpoint
19 * @return client which can communicate with the given endpoint
20 */
21 SampXmlRpcClient createClient( URL endpoint ) throws IOException;
22 }