greenswitch icon indicating copy to clipboard operation
greenswitch copied to clipboard

Raise exception when user tries to send a command that requires full socket access but does not have this permission

Open italorossi opened this issue 6 years ago • 0 comments

After connect we'll know if the socket is full or not, just capture that save on a property and check before sending the command.

A good idea is to decorate all the methods that requires it:

@require_socket_full
def uuid_break(self, uuid):
    pass

italorossi avatar Sep 04 '18 19:09 italorossi