com.ibm.websphere.samples.asynchbeans.wstrader.tickstream
Class StreamHeartBeatAlarm

java.lang.Object
  extended by com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamHeartBeatAlarm
All Implemented Interfaces:
com.ibm.websphere.asynchbeans.AlarmListener

public class StreamHeartBeatAlarm
extends java.lang.Object
implements com.ibm.websphere.asynchbeans.AlarmListener

A simple alarm that fires StreamHeartBeatEvent events to all listeners of the input EventSource. The purpose of this alarm is to ultimately send Ping messages to our clients on a regular basis. They can therefore have a better understanding of the state of their connection.


Method Summary
 void fired(com.ibm.websphere.asynchbeans.Alarm alarm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

fired

public void fired(com.ibm.websphere.asynchbeans.Alarm alarm)
Specified by:
fired in interface com.ibm.websphere.asynchbeans.AlarmListener
See Also:
AlarmListener.fired(Alarm)