def handleConnectionWriteEvent(self, event): log.debug("Handling Write Event") event.getSource().write()
def handleConnectionExceptionEvent(self, event): log.debug("Handling Connection Exception Event") event.getSource().disconnect() self.dropConnection(event.getSource())
def handleConnectionReadEvent(self, event): log.debug("Handling Read Event") obj = event.getSource().read() if obj != None: self.addEvent(obj)