|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.core.event.AbstractEventProducer
org.objectweb.proactive.core.event.NodeCreationEventProducerImpl
Nested Class Summary |
Nested classes inherited from class org.objectweb.proactive.core.event.AbstractEventProducer |
AbstractEventProducer.ListenerList |
Field Summary |
Fields inherited from class org.objectweb.proactive.core.event.AbstractEventProducer |
eventListeners, logger, shouldSerializeListeners |
Constructor Summary | |
NodeCreationEventProducerImpl()
|
Method Summary | |
void |
addNodeCreationEventListener(NodeCreationEventListener listener)
Adds a listener of NodeCreationEvent. |
protected void |
notifyListeners(VirtualNode vn,
int type,
Node node,
int nodeCreated)
|
protected void |
notifyOneListener(ProActiveListener proActiveListener,
ProActiveEvent event)
Notifies one listener with the event. |
void |
removeNodeCreationEventListener(NodeCreationEventListener listener)
Removes the NodeCreationEventListener. |
Methods inherited from class org.objectweb.proactive.core.event.AbstractEventProducer |
addListener, hasListeners, notifyAllListeners, removeListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NodeCreationEventProducerImpl()
Method Detail |
protected void notifyOneListener(ProActiveListener proActiveListener, ProActiveEvent event)
AbstractEventProducer
notifyOneListener
in class AbstractEventProducer
proActiveListener
- the listener to notify.event
- the event to fire to the listener.AbstractEventProducer.notifyOneListener(ProActiveListener, ProActiveEvent)
protected void notifyListeners(VirtualNode vn, int type, Node node, int nodeCreated)
public void addNodeCreationEventListener(NodeCreationEventListener listener)
NodeCreationEventProducer
addNodeCreationEventListener
in interface NodeCreationEventProducer
listener
- the listener to addNodeCreationEventProducer.addNodeCreationEventListener(org.objectweb.proactive.core.event.NodeCreationEventListener)
public void removeNodeCreationEventListener(NodeCreationEventListener listener)
NodeCreationEventProducer
removeNodeCreationEventListener
in interface NodeCreationEventProducer
listener
- the listener to removeNodeCreationEventProducer.removeNodeCreationEventListener(org.objectweb.proactive.core.event.NodeCreationEventListener)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |