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