org.ow2.jasmine.monitoring.eos.probemanager.service
Class ProbeTopicProducer

java.lang.Object
  extended by org.ow2.jasmine.monitoring.eos.probemanager.service.ProbeTopicProducer
All Implemented Interfaces:
org.ow2.jasmine.probe.JasmineProbeListener

public class ProbeTopicProducer
extends java.lang.Object
implements org.ow2.jasmine.probe.JasmineProbeListener

This class receives events from JasmineListener and resend them on the jasmineProbe Topic

Author:
durieuxp

Field Summary
protected  org.ow2.util.log.Log logger
           
protected  javax.jms.Connection probeconn
           
protected  javax.jms.Topic probetopic
           
 
Constructor Summary
ProbeTopicProducer()
           
 
Method Summary
 void notifyEvent(org.ow2.jasmine.probe.JasmineProbe probe)
          Notifies a Probe state change
 void publishResult(org.ow2.jasmine.event.messages.JasmineEvent event)
          Send a message on the Topic for flex clients
 void releaseProbeConnection()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected org.ow2.util.log.Log logger

probeconn

protected javax.jms.Connection probeconn

probetopic

protected javax.jms.Topic probetopic
Constructor Detail

ProbeTopicProducer

public ProbeTopicProducer()
Method Detail

notifyEvent

public void notifyEvent(org.ow2.jasmine.probe.JasmineProbe probe)
Notifies a Probe state change

Specified by:
notifyEvent in interface org.ow2.jasmine.probe.JasmineProbeListener
Parameters:
probe -

publishResult

public void publishResult(org.ow2.jasmine.event.messages.JasmineEvent event)
Send a message on the Topic for flex clients

Parameters:
event - Event sent by the eventswitch (JasmineEvent format)

releaseProbeConnection

public void releaseProbeConnection()


Copyright © 2012 OW2 Consortium. All Rights Reserved.