Package simtools.data.buffer

Examples of simtools.data.buffer.BufferedDataSource


        }
        buffer.setProvider(ds);
        // temporary stop notification => can remove and add safely
        setNotify(false);
        if (sources.remove(ds)) { // true if it was present
            DataSource ret = new BufferedDataSource(buffer);
            sources.add(ret);
            // reactivate notification and send a 'change' message
            setNotify(true);
            notifyListeners(DataSourcePoolEvent.CHANGE, ret, ds);
            return ret;
View Full Code Here


        if ((b.getProvider() != null) && (!b.getProvider().equals(get(i)))) {
            throw new UnsupportedOperation();
        }
        b.setProvider((ValueProvider) get(i));
        // this will in turn call back attachBuffer
        set(i, new BufferedDataSource(b));
    }
View Full Code Here

TOP

Related Classes of simtools.data.buffer.BufferedDataSource

Copyright © 2018 www.massapicom. 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.