com.atlassian.bamboo.v2.build.agent
Class HeartbeatMessageListener

java.lang.Object
  extended by com.atlassian.bamboo.v2.build.agent.BambooAgentMessageDeliverer
      extended by com.atlassian.bamboo.v2.build.agent.HeartbeatMessageListener
All Implemented Interfaces:
javax.jms.MessageListener

public class HeartbeatMessageListener
extends BambooAgentMessageDeliverer
implements javax.jms.MessageListener

Specialised listener for heartbeat messages. If a heartbeat message is received from a another server finger print, a rebroadcast of the ServerFingerprintBroadcastEvent is triggerred


Constructor Summary
HeartbeatMessageListener(java.lang.String serverFingerprint, com.atlassian.event.EventManager eventManager)
           
 
Method Summary
 void onMessage(javax.jms.Message message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeartbeatMessageListener

public HeartbeatMessageListener(java.lang.String serverFingerprint,
                                com.atlassian.event.EventManager eventManager)
Method Detail

onMessage

public void onMessage(javax.jms.Message message)
Specified by:
onMessage in interface javax.jms.MessageListener


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.