Class XMLRPCClient
java.lang.Object
org.epics.archiverappliance.retrieval.channelarchiver.XMLRPCClient
A class that handles the XML-RPC portion of an existing channel archiver instance.
We pass in a SAXParser for all method calls; theoretically, this should be accommodate passing data out of the system in a streaming fashion
- Author:
- mshankar
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidarchiverArchives(String serverURL, DefaultHandler handler) Call archiver.archives on the Channel Archiverstatic voidarchiverInfo(String serverURL, DefaultHandler handler) Call archiver.info on the Channel Archiverstatic voidarchiverNames(String serverURL, String key, DefaultHandler handler) Call archiver.names on the Channel Archiver - note this call can take a loooong time.
-
Constructor Details
-
XMLRPCClient
public XMLRPCClient()
-
-
Method Details
-
archiverInfo
public static void archiverInfo(String serverURL, DefaultHandler handler) throws IOException, SAXException Call archiver.info on the Channel Archiver- Parameters:
serverURL- The Server URLhandler- DefaultHandler- Throws:
IOException-SAXException-
-
archiverArchives
public static void archiverArchives(String serverURL, DefaultHandler handler) throws IOException, SAXException Call archiver.archives on the Channel Archiver- Parameters:
serverURL- The Server URLhandler- DefaultHandler- Throws:
IOException-SAXException-
-
archiverNames
public static void archiverNames(String serverURL, String key, DefaultHandler handler) throws IOException, SAXException Call archiver.names on the Channel Archiver - note this call can take a loooong time.- Parameters:
serverURL- The Server URLkey-handler- DefaultHandler- Throws:
IOException-SAXException-
-