artdaq_node_server  v1_00_09
 All Classes Namespaces Files Variables Pages
xmlrpc.js
1 var Client = require('./client')
2  , Server = require('./server')
3  , CustomType = require('./customtype')
4  , dateFormatter = require('./date_formatter')
5 
6 var xmlrpc = exports
7 
19 xmlrpc.createClient = function(options) {
20  return new Client(options, false)
21 }
22 
34 xmlrpc.createSecureClient = function(options) {
35  return new Client(options, true)
36 }
37 
47 xmlrpc.createServer = function(options, callback) {
48  return new Server(options, false, callback)
49 }
50 
60 xmlrpc.createSecureServer = function(options, callback) {
61  return new Server(options, true, callback)
62 }
63 
64 xmlrpc.CustomType = CustomType
65 xmlrpc.dateFormatter = dateFormatter