mirror of
https://github.com/jketterl/openwebrx.git
synced 2026-04-05 14:37:09 +00:00
implement all methods for consistency
This commit is contained in:
parent
cbc7b73b1d
commit
00febdf255
1 changed files with 9 additions and 0 deletions
|
|
@ -39,6 +39,9 @@ class Client(object):
|
|||
def mp_send(self, data):
|
||||
self.multiprocessingPipe.put(data, block=False)
|
||||
|
||||
def handleTextMessage(self, conn, message):
|
||||
pass
|
||||
|
||||
def handleBinaryMessage(self, conn, data):
|
||||
logger.error("unsupported binary message, discarding")
|
||||
|
||||
|
|
@ -307,3 +310,9 @@ class WebSocketMessageHandler(object):
|
|||
if not self.handshake:
|
||||
logger.warning("not answering client request since handshake is not complete")
|
||||
return
|
||||
|
||||
def handleBinaryMessage(self, conn, data):
|
||||
pass
|
||||
|
||||
def handleClose(self):
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue