2016-01-15 13:44:32 +09:00
|
|
|
from keepkeylib.client import proto, BaseClient, ProtocolMixin
|
2017-12-04 14:06:37 +01:00
|
|
|
from .clientbase import KeepKeyClientBase
|
2016-01-15 13:44:32 +09:00
|
|
|
|
2017-12-04 14:06:37 +01:00
|
|
|
class KeepKeyClient(KeepKeyClientBase, ProtocolMixin, BaseClient):
|
2016-01-20 00:28:54 +09:00
|
|
|
def __init__(self, transport, handler, plugin):
|
2016-01-15 13:44:32 +09:00
|
|
|
BaseClient.__init__(self, transport)
|
|
|
|
|
ProtocolMixin.__init__(self, transport)
|
2017-12-04 14:06:37 +01:00
|
|
|
KeepKeyClientBase.__init__(self, handler, plugin, proto)
|
2016-01-15 13:44:32 +09:00
|
|
|
|
|
|
|
|
def recovery_device(self, *args):
|
2016-01-23 12:09:52 +09:00
|
|
|
ProtocolMixin.recovery_device(self, False, *args)
|
2016-01-15 13:44:32 +09:00
|
|
|
|
|
|
|
|
|
2017-12-04 14:06:37 +01:00
|
|
|
KeepKeyClientBase.wrap_methods(KeepKeyClient)
|