Class InternalServerFactory
java.lang.Object
org.astrogrid.samp.xmlrpc.internal.InternalServerFactory
- All Implemented Interfaces:
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 -
Method Summary
Modifier and TypeMethodDescriptionReturns an XML-RPC server implementation.
-
Constructor Details
-
InternalServerFactory
public InternalServerFactory()
-
-
Method Details
-
getServer
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:
IOException
-