Module xalt_transmission_factory :: Class XALT_transmission_factory
[hide private]
[frames] | no frames]

Class XALT_transmission_factory

source code

object --+
         |
        XALT_transmission_factory
Known Subclasses:

This class is a factory to determine which way to "write" the json data.

Instance Methods [hide private]
 
__init__(self, syshost, kind)
This ctor saves away the system name and kind of record (link, run)
source code
 
_syshost(self)
returns the system name @return returns the system name
source code
 
_kind(self)
Returns the kind of record: link or run @return the kind of record.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
 
build(name, syshost, kind, fn)
The static factory build routine that returns the transmission object.
source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, syshost, kind)
(Constructor)

source code 

This ctor saves away the system name and kind of record (link, run)

Parameters:
  • syshost - Name of the system.
  • kind - Type of record: link or run
Overrides: object.__init__

build(name, syshost, kind, fn)
Static Method

source code 

The static factory build routine that returns the transmission object.

Parameters:
  • name - Name of the factory: syslog, directdb, file
  • syshost - The system name. Should be stampede or darter not login1.stampede....
  • kind - Type of record: link, run
  • fn - file name (only used by file transport object