Skip to content

Commit 1972b30

Browse files
committed
remove no used code
1 parent 46ef725 commit 1972b30

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

channel.py

-18
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ def register(self, session):
3333

3434
def sendMessage(self, message):
3535
if self.session != None:
36-
print("dannny")
3736
self.session.sendMessage(message, True)
3837

3938
def onMessage(self, payload, isBinary):
@@ -47,20 +46,3 @@ def setObserver(self, observer):
4746

4847
mainChannel = Channel()
4948

50-
import signal
51-
import sys
52-
import ssl
53-
from SimpleWebSocketServer import WebSocket, SimpleWebSocketServer, SimpleSSLWebSocketServer
54-
from optparse import OptionParser
55-
56-
class SimpleEcho(WebSocket):
57-
def handleMessage(self):
58-
# self.sendMessage(self.data)
59-
mainChannel.onMessage(self.data, False)
60-
def handleConnected(self):
61-
global mainChannel
62-
mainChannel.register(self)
63-
pass
64-
65-
def handleClose(self):
66-
pass

0 commit comments

Comments
 (0)