org.gcube.messaging.monitoring.probes.ghn
Class GHNNotificationProbe

java.lang.Object
  extended by GCUBENotificationProbe
      extended by org.gcube.messaging.monitoring.probes.ghn.GHNNotificationProbe

public class GHNNotificationProbe
extends GCUBENotificationProbe

Implementation of a GHNNotifictionProbe that subscribe for GHN events and dispatch messages to the Broker

Author:
Andrea Manzi(CERN)

Constructor Summary
GHNNotificationProbe()
           
 
Method Summary
static org.gcube.messaging.common.messages.GHNMessage createGHNMessage(GCUBEScope scope)
           
 void run()
           
static void sendGHNTest(org.gcube.messaging.common.messages.Test test)
           
static void sendGHNTest(org.gcube.messaging.common.messages.Test test, GCUBEScope scope)
           
 void sendMessage(GCUBEMessage message)
           
 void sendMessageWithTest(org.gcube.messaging.common.messages.Test test)
          Send a Test using the JMS Client
 void sendMessageWithTest(org.gcube.messaging.common.messages.Test test, GCUBEScope scope)
          Send a Test using the JMS Client
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GHNNotificationProbe

public GHNNotificationProbe()
Method Detail

run

public void run()
         throws java.lang.Exception
Throws:
java.lang.Exception

sendMessage

public void sendMessage(GCUBEMessage message)

sendGHNTest

public static void sendGHNTest(org.gcube.messaging.common.messages.Test test)

sendGHNTest

public static void sendGHNTest(org.gcube.messaging.common.messages.Test test,
                               GCUBEScope scope)

createGHNMessage

public static org.gcube.messaging.common.messages.GHNMessage createGHNMessage(GCUBEScope scope)

sendMessageWithTest

public void sendMessageWithTest(org.gcube.messaging.common.messages.Test test)
Send a Test using the JMS Client


sendMessageWithTest

public void sendMessageWithTest(org.gcube.messaging.common.messages.Test test,
                                GCUBEScope scope)
Send a Test using the JMS Client