Package backend :: Package satellite_tools :: Module xmlWireSource :: Class BaseWireSource
[hide private]
[frames] | no frames]

Class BaseWireSource

source code


Base object for wire-commo to RHN for delivery of XML/RPMS.

Instance Methods [hide private]
 
__init__(self, systemid, sslYN=0, xml_dump_version=None) source code
 
getServer(self, forcedYN=0) source code
 
schemeAndUrl(self, url)
http[s]://BLAHBLAHBLAH/ACKACK --> http[s]://BLAHBLAHBLAH
source code
 
setServer(self, handler, url=None, forcedYN=0)
XMLRPC server object (ssl set in parameters).
source code
 
_cached_connection_params(self, handler, url, forcedYN=0)
Helper function; returns 0 if we have to reset the connection params, 1 if the cached values are ok
source code
 
_set_connection(self, url)
Instantiates a connection object
source code
 
_set_ssl_trusted_certs(self, serverObj) source code
 
_openSocketStream(self, method, params)
Wraps the gzipstream.GzipStream instantiation in a test block so we can open normally if stream is not gzipped.
source code
 
setServerHandler(self, isIss=0) source code
Static Methods [hide private]
 
_set_connection_params(handler, url) source code
Class Variables [hide private]
  serverObj = None
hash(x)
  handler = ''
  url = ''
  sslYN = 0
  systemid = None
hash(x)
  server_handler = None
hash(x)
  xml_dump_version = None
hash(x)
Method Details [hide private]

setServer(self, handler, url=None, forcedYN=0)

source code 

XMLRPC server object (ssl set in parameters). NOTE: url expected to be of the form: scheme://machine/HANDLER