private void cleanupSession(){
        eventThread.queueClientEvent(new ClientSessionEvent(SessionEvent.CLOSED));
        watcherManager.cleanup();
        session.id = "";
        session.password = null;
        session.serverId = -1;
        onSessionClose();
    }
private void cleanupSession ( ) { eventThread . queueClientEvent ( new ClientSessionEvent ( SessionEvent . CLOSED ) ) ; watcherManager . cleanup ( ) ; session . id = "" ; session . password = null ; session . serverId = - 1 ; onSessionClose ( ) ; }
Cleanup the session in the DirectoryConnection.