Package SimPy :: Module testSimPy :: Class JobTO_P

[hide private]
[frames] | no frames]

# Class JobTO_P

source code

       object --+
                |
    Lister.Lister --+
                    |
          Lib.Process --+
                        |
                       JobTO_P

Job class for testing timeout reneging with priorities

Instance Methods | [hide private]

__init__(self, server=None, name=`'````'`) x.__init__(...) initializes x; see x.__class__.__doc__ for signature | source code

execute(self, timeout, usetime, priority) | source code

Inherited from `Lib.Process`: `acquired`, `active`, `cancel`, `interrupt`, `interruptReset`, `interrupted`, `passive`, `queuing`, `start`, `stored`, `terminated`

Inherited from `Lib.Process` (private): `_hold`, `_passivate`

Inherited from `Lister.Lister`: `__repr__`, `__str__`, `attrnames`

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

Class Variables | [hide private]

Inherited from `Lister.Lister`: `indent`

Properties | [hide private]

Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, server=None, name=`'````'`)
(Constructor)

source code

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
  (inherited documentation)