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

Class File

source code

               object --+    
                        |    
XALT_transmission_factory --+
                            |
                           File

This is the file transport class

Instance Methods [hide private]
 
__init__(self, syshost, kind, fn)
This ctor is for the file transport method.
source code
 
save(self, resultT)
The json table is written to the file specified in the ctor.
source code

Inherited from XALT_transmission_factory (private): _kind, _syshost

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

Static Methods [hide private]

Inherited from XALT_transmission_factory: build

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, syshost, kind, fn)
(Constructor)

source code 

This ctor is for the file transport method.

Parameters:
  • syshost - Name of the system.
  • kind - Type of record: link or run
  • fn - the file name to write the record to.
Overrides: object.__init__

save(self, resultT)

source code 

The json table is written to the file specified in the ctor.

Parameters:
  • resultT - The json record table