Package net.tomp2p.task

Examples of net.tomp2p.task.TaskStatus


        } else if (message.getType() == Type.REQUEST_2) {
            Collection<Number160> taskIDs = message.getKeys();
            Map<Number160, Data> dataMap = new HashMap<Number160, Data>();
            for (Number160 taskId : taskIDs) {
                Number320 taskKey = new Number320(taskId, message.getSender().getPeerId());
                TaskStatus taskStatus = taskManager.taskStatus(taskKey);
                Data data = new Data(taskStatus);
                dataMap.put(taskId, data);
            }
            responseMessage.setDataMap(dataMap);
            if (logger.isDebugEnabled()) {
View Full Code Here

TOP

Related Classes of net.tomp2p.task.TaskStatus

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.