Class XMLRPCClient
- java.lang.Object
-
- org.epics.archiverappliance.retrieval.channelarchiver.XMLRPCClient
-
public class XMLRPCClient extends Object
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 Constructor Description XMLRPCClient()
-
Method Summary
Modifier and Type Method Description static void
archiverArchives(String serverURL, DefaultHandler handler)
Call archiver.archives on the Channel Archiverstatic void
archiverInfo(String serverURL, DefaultHandler handler)
Call archiver.info on the Channel Archiverstatic void
archiverNames(String serverURL, String key, DefaultHandler handler)
Call archiver.names on the Channel Archiver - note this call can take a loooong time.
-
-
-
Method Detail
-
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
-
-
-