Package circuits :: Package lib :: Module io :: Class File

Class File

    object --+            
             |            
  core.Manager --+        
                 |        
core.BaseComponent --+    
                     |    
        core.Component --+
                         |
                        File
Known Subclasses:

Nested Classes

Inherited from core.Component: __metaclass__

Instance Methods
 
__init__(self, filename, mode, channel='file')
initializes x; see x.__class__.__doc__ for signature
 
__tick__(self)
 
close(self)
 
poll(self, wait=1e-05)
 
write(self, data)

Inherited from core.BaseComponent: __call__, __repr__, register, unregister

Inherited from core.Manager: __add__, __iadd__, __isub__, __len__, __sub__, flush, push, run, send, start, stop

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

Static Methods

Inherited from core.Component: __new__

Class Variables
  channel = 'file'
The Component's Channel
Instance Variables

Inherited from core.Manager: manager

Properties
  closed

Inherited from core.Manager: channels, components, running, state, ticks

Inherited from object: __class__

Method Details

__init__(self, filename, mode, channel='file')
(Constructor)

 

initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

Property Details

closed

Get Method:
unreachable.closed(self)