org.iids.aos.locationmanager.negotiationmodule
Class AgentScapeDCNegotiationModule
java.lang.Object
org.iids.aos.systemservices.module.AbstractModule
org.iids.aos.locationmanager.negotiationmodule.AgentScapeDCNegotiationModule
- All Implemented Interfaces:
- AgentScapeDCNegotiationInterface, Module
public class AgentScapeDCNegotiationModule
- extends AbstractModule
- implements AgentScapeDCNegotiationInterface
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMBINED_OFFER
public static final java.lang.String COMBINED_OFFER
- See Also:
- Constant Field Values
AgentScapeDCNegotiationModule
public AgentScapeDCNegotiationModule(Communicator comm)
ping
public void ping(java.lang.Integer ref)
getTemplateManagement
public AgentScapeDCTemplateManagement getTemplateManagement()
getRequestProcessor
public AgentScapeDCRequestProcessor getRequestProcessor()
getLeaseManagement
public AgentScapeDCLeaseManagement getLeaseManagement()
getMyAddress
public Address getMyAddress()
addHMinterface
public void addHMinterface(java.lang.String name,
HostManager interfaceImplementer)
- To be called by the object that instatiates this module, to
add interfaces to host managers to the module.
- Parameters:
name - interfaceImplementer -
removeHMinterface
public void removeHMinterface(java.lang.String name)
getHMintfNames
public java.lang.Object[] getHMintfNames()
getHMintf
public HostManager getHMintf(java.lang.String name)
throws java.lang.Exception
- Throws:
java.lang.Exception
requestTemplates
public TemplateList requestTemplates()
- Specified by:
requestTemplates in interface AgentScapeDCNegotiationInterface
- Returns:
- xml containing templates, or an empty string in case of trouble
requestLease
public AgreementOffer requestLease(AgreementOffer leaseRequest)
- Stores request from application in list of incoming requests, for later processing.
Returns a marshalled AgreementOffer ( in the form of a String ).
- Specified by:
requestLease in interface AgentScapeDCNegotiationInterface
requestLeaseStatus
public AgreementOffer requestLeaseStatus(java.lang.String leaseIdentifier)
- unsupported in this version.
- Specified by:
requestLeaseStatus in interface AgentScapeDCNegotiationInterface
- Parameters:
leaseIdentifier -
- Returns:
- unsupported in this version
acceptLease
public AgreementOffer acceptLease(java.lang.String leaseIdentifier)
- Specified by:
acceptLease in interface AgentScapeDCNegotiationInterface
rejectLease
public void rejectLease(java.lang.String leaseIdentifier)
start
public void start()
- Specified by:
start in interface Module
isStarted
public boolean isStarted()
- Specified by:
isStarted in interface Module
stop
public void stop()
- Specified by:
stop in interface Module
Copyright © 2003, 2004 IIDS Group. All Rights Reserved.