1 46 50 package org.mr.kernel.world; 51 52 import java.util.List ; 53 import java.util.Set ; 54 55 import org.mr.core.net.TransportInfo; 56 import org.mr.kernel.services.MantaService; 57 58 65 public interface WorldModelerMBean { 66 67 public abstract void addAgent(String domain , String agentName , List transportInfo); 68 public abstract void removeAgent(String domain, String agentName) ; 73 public abstract boolean addTransportInfoToAgent(String domain , String agentName ,TransportInfo info); 79 public abstract boolean removeTransportInfoFromAgent(String domain , String agentName ,TransportInfo info); 85 public abstract Set getAgentTransportInfo(String domain , String agentName); 91 public abstract Set getAgents(String domain); 96 99 public abstract Set getServices(String domain); 100 public abstract MantaService getService(String domain ,String service, byte serviceType); 103 public abstract void addService(String domain ,MantaService service); 108 public abstract void removeService(String domain, String serviceName) ; 114 115 public abstract String getDefaultDomainName() ; 116 public abstract void setDefaultDomainName(String defaultDomain) ; 119 public abstract String getMyAgentName() ; 122 public abstract void setMyAgentName(String myAgentName) ; 125 139 public abstract Set getMyConsumedServices() ; 142 public abstract Set getMyProducedServices() ; 145 public abstract Set getMyCoordinatedServices() ;} | Popular Tags |