• Vincent Pelletier's avatar
    Big rework on client handlers: · 4c61df28
    Vincent Pelletier authored
    - Split completely expected packet handlers from asynchronous event handlers
    - Remove NEOStorageConnectionFailure exception and replace it by a more general "ConnectionClosed" exception, purely internal to client app.
    - Modify waitMessage to redirect to a handler based on remote peer type
    - Fix multiple code paths taken when master doesn't accept connections (or closes them) while trying to conenct to it.
    Also:
    - remove unused imports found by pyflakes
    
    
    git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@773 71dcc9de-d417-0410-9af5-da40c76e7ee4
    4c61df28
master.py 11.8 KB