public interface Node extends Serializable
jade.core.IMTPManager
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
accept(HorizontalCommand cmd)
Accepts a command.
|
void |
exit() |
void |
exportSlice(java.lang.String serviceName,
Service.Slice localSlice) |
java.lang.String |
getName() |
boolean |
hasPlatformManager() |
void |
interrupt() |
boolean |
ping(boolean hang)
Performs a ping operation on this node, to check whether it is
still alive.
|
void |
platformManagerDead(java.lang.String deadPmAddress,
java.lang.String notifyingPmAddr) |
void |
setName(java.lang.String name) |
void |
unexportSlice(java.lang.String serviceName) |
void setName(java.lang.String name)
java.lang.String getName()
boolean hasPlatformManager()
void exportSlice(java.lang.String serviceName, Service.Slice localSlice)
void unexportSlice(java.lang.String serviceName)
java.lang.Object accept(HorizontalCommand cmd) throws IMTPException
accept()
method is a remote method, forwarding the
command to the remote location it represents.cmd
- The horizontal command to process.IMTPException
- If a communication error occurs while
contacting the remote node.boolean ping(boolean hang) throws IMTPException
hang
- If true
, the call hangs until the node
exits or is interrupted.true
is returned, else false
IMTPException
void interrupt() throws IMTPException
IMTPException
void exit() throws IMTPException
IMTPException
void platformManagerDead(java.lang.String deadPmAddress, java.lang.String notifyingPmAddr) throws IMTPException
IMTPException