class documentation
class RemoteLock(RemoteUaObject[
Constructor: RemoteLock(parent, server)
The remote interface for a server-side Lock.
| Method | __init__ |
Create a new instance. Must be asynchronously initialized with init() before use. |
| Async Method | break |
Occupy the lock, will fail when already locked by higher priority user. |
| Method | dto |
Return the data transfer object. |
| Async Method | exit |
Free the lock, will fail when we are not the locking user. |
| Async Method | init |
Occupy the lock, will fail when already locked. |
| Async Method | renew |
Renew the lock, will fail when we are not the locking user. |
| Async Method | ua |
Undocumented |
| Instance Variable | locked |
Undocumented |
| Instance Variable | locking |
Undocumented |
| Property | locked |
Whether the module is locked. |
| Property | locked |
Whether the lock is owned by us. |
| Property | locked |
Return the time when the current user locked the asset. Is None when Lock is unlocked. |
| Property | locking |
Empty when module is unlocked, otherwise hostname of the locking user. |
| Property | locking |
Empty when module is unlocked, otherwise name of the locking user. |
| Async Method | _init |
Undocumented |
| Instance Variable | _locked |
Undocumented |
| Instance Variable | _locked |
Undocumented |
| Instance Variable | _locking |
Undocumented |
| Instance Variable | _locking |
Undocumented |
| Instance Variable | _ua |
Undocumented |