upcall, 2.7-friendly
This commit is contained in:
parent
45c09fdd05
commit
2d506de55a
|
@ -83,9 +83,11 @@ class ServerBase:
|
||||||
|
|
||||||
def connectionMade(self):
|
def connectionMade(self):
|
||||||
self.connected = True
|
self.connected = True
|
||||||
|
return Protocol.connectionMade(self)
|
||||||
|
|
||||||
def connectionLost(self, reason):
|
def connectionLost(self, reason):
|
||||||
self.connected = False
|
self.connected = False
|
||||||
|
return Protocol.connectionLost(self, reason)
|
||||||
|
|
||||||
def send(self, data):
|
def send(self, data):
|
||||||
self.transport.write(data)
|
self.transport.write(data)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user