MCPcopy Create free account
hub / github.com/LabPy/lantz / lock

Method lock

lantz/drivers/legacy/vxi11.py:451–460  ·  view source on GitHub ↗

Send lock command.

(self)

Source from the content-addressed store, hash-verified

449 raise Vxi11Error("error local: %d" % error)
450
451 def lock(self):
452 """Send lock command.
453 """
454
455 flags = 0
456
457 error = self.client.device_lock(self.link, flags, self.lock_timeout)
458
459 if error:
460 raise Vxi11Error("error locking: %d" % error)
461
462 def unlock(self):
463 """Send unlock command.

Callers

nothing calls this directly

Calls 2

Vxi11ErrorClass · 0.85
device_lockMethod · 0.80

Tested by

no test coverage detected