diff --git a/testclient.py b/testclient.py index 76d4902..c8075e3 100644 --- a/testclient.py +++ b/testclient.py @@ -27,3 +27,6 @@ class TestClient(pyreactor.BaseClient): stream.copy("test.dat") print "Exiting..." self.reactor.stop() + + def event_disconnected(self): + print "Client disconnected."