org.gcube.messaging.monitoring.probes.ri
Class RINotificationProbe

java.lang.Object
  extended by org.gcube.common.core.utils.handlers.GCUBEHandler<org.gcube.common.core.monitoring.GCUBETestProbe>
      extended by org.gcube.common.core.monitoring.GCUBETestProbe
          extended by org.gcube.common.core.monitoring.GCUBENotificationProbe
              extended by org.gcube.messaging.monitoring.probes.ri.RINotificationProbe
All Implemented Interfaces:
org.gcube.common.core.monitoring.GCUBEProbe, org.gcube.common.core.utils.handlers.GCUBEIHandler<org.gcube.common.core.monitoring.GCUBETestProbe>

public class RINotificationProbe
extends org.gcube.common.core.monitoring.GCUBENotificationProbe

Implementation of a RI Notification Probe

Author:
Andrea Manzi(CERN)

Field Summary
 
Fields inherited from class org.gcube.common.core.monitoring.GCUBETestProbe
map, scheduler
 
Fields inherited from class org.gcube.common.core.utils.handlers.GCUBEHandler
handled, logger, producer
 
Constructor Summary
RINotificationProbe()
           
 
Method Summary
 void run()
           
 void sendMessage(org.gcube.common.core.monitoring.GCUBEMessage message)
          Send a Message to Broker using JMS
static void sendRIMessage(org.gcube.messaging.common.messages.RIMessage message)
          Send a RIMessage to the Broker
 
Methods inherited from class org.gcube.common.core.monitoring.GCUBENotificationProbe
execute
 
Methods inherited from class org.gcube.common.core.monitoring.GCUBETestProbe
getDescription, getInterval, setDescription, setInterval
 
Methods inherited from class org.gcube.common.core.utils.handlers.GCUBEHandler
clearBlackboard, getBlackboard, getHandled, getId, getLogger, getName, getScopeManager, getSecurityManager, getState, notify, setBlackboard, setHandled, setLogger, setName, setScopeManager, setSecurityManager, setState, subscribe, undo, unsubscribe
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RINotificationProbe

public RINotificationProbe()
Method Detail

run

public void run()
         throws Exception
Specified by:
run in interface org.gcube.common.core.utils.handlers.GCUBEIHandler<org.gcube.common.core.monitoring.GCUBETestProbe>
Specified by:
run in class org.gcube.common.core.utils.handlers.GCUBEHandler<org.gcube.common.core.monitoring.GCUBETestProbe>
Throws:
Exception

sendRIMessage

public static void sendRIMessage(org.gcube.messaging.common.messages.RIMessage message)
Send a RIMessage to the Broker

Parameters:
message - the RIMEssage

sendMessage

public void sendMessage(org.gcube.common.core.monitoring.GCUBEMessage message)
Send a Message to Broker using JMS



Copyright © 2013. All Rights Reserved.