Refactored batch processors, addressing points in #489.

This commit is contained in:
Griatch 2014-04-20 23:06:10 +02:00
parent 792b3c9282
commit 0dc62a5fc9
4 changed files with 111 additions and 206 deletions

View file

@ -89,7 +89,7 @@ class TelnetProtocol(Telnet, StatefulTelnetProtocol, Session):
the disconnect method
"""
self.sessionhandler.disconnect(self)
self.transport.close()
self.transport.loseConnection()
def dataReceived(self, data):
"""