|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jadv.events.Event | +--org.jadv.events.HeartBeatEvent
This is the Event, that handles the HeartBeat of one object.
The HeartBeatEvent simply calles the function HeartBeat() of the
given object. If the Event didn't finish in time, the markBad()
Function disables the HeartBeat of the object.
Field Summary | |
private JAdvObject |
_obj
|
Fields inherited from class org.jadv.events.Event |
_NEXT |
Constructor Summary | |
HeartBeatEvent(JAdvObject obj)
The constructor just gets the Objects, in which it should call the HeartBeat. |
Method Summary | |
void |
doEvent()
doEvent() This is the function, that will be called by the EventThread. |
void |
markBad()
markBad() Mark an Event as bad. |
Methods inherited from class org.jadv.events.Event |
findObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private JAdvObject _obj
Constructor Detail |
public HeartBeatEvent(JAdvObject obj)
obj
- The Object, in which we want to call the HeartBeat.Method Detail |
public void doEvent()
doEvent
in class Event
public void markBad()
markBad
in class Event
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |