Examples of IEventBrowser


Examples of tod.core.database.browser.IEventBrowser

    /**
     * Load all field information for this class.
     */
    private void loadFields() {
        IEventBrowser allEvents = session.getTODHandler().getObjectBrowser(this.todObject);
        IEventBrowser variableWrites = session.getTODHandler().filterFieldWrites(allEvents);
       
        if (!variableWrites.hasNext()) {
            return;
        }
        ILogEvent currentEvent;
        do {
            currentEvent = variableWrites.next();
           
            if (currentEvent instanceof FieldWriteEvent) {
                FieldWriteEvent fw = (FieldWriteEvent)currentEvent;               
                this.updateFieldVariable(fw);
            }
        } while (variableWrites.hasNext() && currentEvent.getTimestamp() <= this.validTimestamp);
       
        this.loadedFields = true;
        // TODO
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.