|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents a node of a JADE platform (i.e. a component that can host a slice of a platform-level service). Concrete nodes for a platform are created by the concrete IMTP manager.
jade.core.IMTPManager
Method Summary | |
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)
|
Method Detail |
public void setName(java.lang.String name)
public java.lang.String getName()
public boolean hasPlatformManager()
public void exportSlice(java.lang.String serviceName, Service.Slice localSlice)
public void unexportSlice(java.lang.String serviceName)
public 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.public 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
public void interrupt() throws IMTPException
IMTPException
public void exit() throws IMTPException
IMTPException
public void platformManagerDead(java.lang.String deadPmAddress, java.lang.String notifyingPmAddr) throws IMTPException
IMTPException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |