|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.samples.asynchbeans.wstrader.pricegen.PriceHeartBeatAlarm
public class PriceHeartBeatAlarm
An asynchronous Alarm that fires at a given interval and posts a Ping message on a queue
Constructor Summary | |
---|---|
PriceHeartBeatAlarm(int interval_ms,
javax.jms.Topic topic)
Create a PricePublisherAlarm. |
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 |
Constructor Detail |
---|
public PriceHeartBeatAlarm(int interval_ms, javax.jms.Topic topic) throws java.rmi.RemoteException, javax.jms.JMSException
interval_ms
- the number of milliseconds to wait between ticks.topic
- the JMS Topic to publish the ping messages on
java.rmi.RemoteException
javax.jms.JMSException
Method Detail |
---|
public void fired(com.ibm.websphere.asynchbeans.Alarm alarm)
fired
in interface com.ibm.websphere.asynchbeans.AlarmListener
AlarmListener.fired(Alarm)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |