Package com.qspin.qtaste.datacollection.collection

Examples of com.qspin.qtaste.datacollection.collection.DataReceivedListener


    public void publish() {
        //logger.info("publish"); 
        Iterator<Data> i = array.iterator();
        Data data = null;
        DataReceivedListener listener = CacheImpl.getInstance();
        while (i.hasNext()) {
            data = i.next();
            listener.dataReceived(data.getTimestamp(), data.getSender(), data.getDest(), data.getName(), data.getValue(), data.getSource(), data.getType());
            //logger.debug("Publishing " + data.getName() + " timestamp " + data.getTimestamp());      
        }
        array.clear();
     }
View Full Code Here

TOP

Related Classes of com.qspin.qtaste.datacollection.collection.DataReceivedListener

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.