Class RpcLoggingInternalServerFactory
- java.lang.Object
-
- org.astrogrid.samp.xmlrpc.internal.RpcLoggingInternalServerFactory
-
- All Implemented Interfaces:
SampXmlRpcServerFactory
public class RpcLoggingInternalServerFactory extends java.lang.Object implements SampXmlRpcServerFactory
Freestanding ServerFactory implementation which logs all XML-RPC calls/responses to standard output.- Since:
- 2 Dec 2008
- Author:
- Mark Taylor
-
-
Field Summary
Fields Modifier and Type Field Description private RpcLoggingInternalServer
server_
-
Constructor Summary
Constructors Constructor Description RpcLoggingInternalServerFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SampXmlRpcServer
getServer()
Returns an XML-RPC server implementation.
-
-
-
Field Detail
-
server_
private RpcLoggingInternalServer server_
-
-
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
-
-