def dataReceived(self, data):
        self.inReactorMethod = True
        self.writeAndAbort()
        self.inReactorMethod = False
Register a service.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/internet/test/test_tcp.py/AbortingClient.dataReceived--crossover with--dataset/ETHPy150Open enthought/envisage/envisage/application.py/Application.register_service