jade.core
Interface PlatformManager
- All Known Implementing Classes:
- PlatformManagerImpl
public interface PlatformManager
- Author:
- Giovanni Caire - TILAB
|
Method Summary |
java.lang.String |
addNode(NodeDescriptor dsc,
java.util.Vector nodeServices,
boolean propagated)
|
void |
addReplica(java.lang.String newAddr,
boolean propagated)
|
void |
addSlice(ServiceDescriptor service,
NodeDescriptor dsc,
boolean propagated)
|
void |
adopt(Node n,
Node[] children)
|
java.util.Vector |
findAllSlices(java.lang.String serviceKey)
|
Service.Slice |
findSlice(java.lang.String serviceKey,
java.lang.String sliceKey)
|
java.lang.String |
getLocalAddress()
|
java.lang.String |
getPlatformName()
|
void |
ping()
|
void |
removeNode(NodeDescriptor dsc,
boolean propagated)
|
void |
removeReplica(java.lang.String address,
boolean propagated)
|
void |
removeSlice(java.lang.String serviceKey,
java.lang.String sliceKey,
boolean propagated)
|
void |
setLocalAddress(java.lang.String addr)
|
NO_NAME
static final java.lang.String NO_NAME
- See Also:
- Constant Field Values
AUX_NODE_NAME
static final java.lang.String AUX_NODE_NAME
- See Also:
- Constant Field Values
getPlatformName
java.lang.String getPlatformName()
throws IMTPException
- Throws:
IMTPException
getLocalAddress
java.lang.String getLocalAddress()
setLocalAddress
void setLocalAddress(java.lang.String addr)
addNode
java.lang.String addNode(NodeDescriptor dsc,
java.util.Vector nodeServices,
boolean propagated)
throws IMTPException,
ServiceException,
jade.security.JADESecurityException
- Parameters:
dsc - The Descriptor of the new Nodeservices - The services currently installed on the new Nodepropagated - Flag indicating whether the new-node event
was a propagated event within the replication mechanism
- Throws:
IMTPException
ServiceException
jade.security.JADESecurityException
removeNode
void removeNode(NodeDescriptor dsc,
boolean propagated)
throws IMTPException,
ServiceException
- Throws:
IMTPException
ServiceException
addSlice
void addSlice(ServiceDescriptor service,
NodeDescriptor dsc,
boolean propagated)
throws IMTPException,
ServiceException
- Throws:
IMTPException
ServiceException
removeSlice
void removeSlice(java.lang.String serviceKey,
java.lang.String sliceKey,
boolean propagated)
throws IMTPException,
ServiceException
- Throws:
IMTPException
ServiceException
addReplica
void addReplica(java.lang.String newAddr,
boolean propagated)
throws IMTPException,
ServiceException
- Throws:
IMTPException
ServiceException
removeReplica
void removeReplica(java.lang.String address,
boolean propagated)
throws IMTPException,
ServiceException
- Throws:
IMTPException
ServiceException
findSlice
Service.Slice findSlice(java.lang.String serviceKey,
java.lang.String sliceKey)
throws IMTPException,
ServiceException
- Throws:
IMTPException
ServiceException
findAllSlices
java.util.Vector findAllSlices(java.lang.String serviceKey)
throws IMTPException,
ServiceException
- Throws:
IMTPException
ServiceException
adopt
void adopt(Node n,
Node[] children)
throws IMTPException
- Throws:
IMTPException
ping
void ping()
throws IMTPException
- Throws:
IMTPException