Class InternalServerFactory
- java.lang.Object
-
- org.astrogrid.samp.xmlrpc.internal.InternalServerFactory
-
- All Implemented Interfaces:
SampXmlRpcServerFactory
public class InternalServerFactory extends java.lang.Object implements SampXmlRpcServerFactory
Freestanding SampXmlRpcServerFactory implementation. A new server object is returned each time, but this does not mean a new port opened each time.- Since:
- 26 Aug 2008
- Author:
- Mark Taylor
-
-
Constructor Summary
Constructors Constructor Description InternalServerFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SampXmlRpcServer
getServer()
Returns an XML-RPC server implementation.
-
-
-
Method Detail
-
getServer
public SampXmlRpcServer getServer() throws java.io.IOException
Description copied from interface:SampXmlRpcServerFactory
Returns an XML-RPC server implementation. Implementations are permitted, but not required, to return the same object from different calls of this method.- Specified by:
getServer
in interfaceSampXmlRpcServerFactory
- Returns:
- new or re-used server
- Throws:
java.io.IOException
-
-