source file: p10/commands/end_of_burst.py
file stats: 11 lines, 8 executed: 72.7% covered
1. #!/usr/bin/env python 2. 3. import genericcommand 4. import p10.base64 5. 6. class end_of_burst(genericcommand.genericcommand): 7. """ Parses servers being introduced """ 8. 9. _connection = None 10. 11. def __init__(self, state, connection): 12. self._connection = connection 13. genericcommand.genericcommand.__init__(self, state) 14. 15. def handle(self, origin, args): 16. self._connection.registerEOB()