Package jade.core
Interface NodeEventListener
-
public interface NodeEventListenerThis interface is used to notify the JADE kernel of important events related to the platform nodes.- Node addition.
- Node removal.
- An existing node has become suddenly unreachable.
- An existing node has become reachable again.
- Author:
- Giovanni Rimassa - FRAMeTech s.r.l.
- See Also:
ServiceManagerImpl
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidnodeAdded(Node n)This method is invoked when a new node has joined the platform.voidnodeReachable(Node n)This method is invoked when the local node discovers that a platform node, that was previously unreachable, has become reachable again.voidnodeRemoved(Node n)This method is invoked when a node has left the platform.voidnodeUnreachable(Node n)This method is invoked when the local node discovers that a platform node is not reachable anymore.
-
-
-
Method Detail
-
nodeAdded
void nodeAdded(Node n)
This method is invoked when a new node has joined the platform.- Parameters:
n- The newly added platform node.
-
nodeRemoved
void nodeRemoved(Node n)
This method is invoked when a node has left the platform.- Parameters:
n- The node that has just left.
-
nodeUnreachable
void nodeUnreachable(Node n)
This method is invoked when the local node discovers that a platform node is not reachable anymore. The discovery is due to some IMTP-specific network mechanism, and does not mean that the remote node has failed. A subsequentnodeReachable()call might be issued when the IMTP connection becomes working again.- Parameters:
n- The node that has become unreachable.
-
nodeReachable
void nodeReachable(Node n)
This method is invoked when the local node discovers that a platform node, that was previously unreachable, has become reachable again.- Parameters:
n- The node that has become reachable again.
-
-