org.apache.airavata.ws.monitor
Class WsmgClient
java.lang.Object
org.apache.airavata.ws.monitor.WsmgClient
- All Implemented Interfaces:
- ConsumerNotificationHandler, NotificationHandler
public class WsmgClient
- extends Object
- implements ConsumerNotificationHandler, NotificationHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WsmgClient
public WsmgClient(Monitor monitor)
- Constructs a WsmgClient.
- Parameters:
monitor -
subscribe
public void subscribe()
throws MonitorException
- Subscribes to the notification.
- Throws:
MonitorException
unsubscribe
public void unsubscribe()
throws MonitorException
- Unsubscribes from the notification.
- Throws:
MonitorException
handleNotification
public void handleNotification(org.apache.axiom.soap.SOAPEnvelope message)
- Specified by:
handleNotification in interface ConsumerNotificationHandler
- See Also:
NotificationHandler.handleNotification(java.lang.String)
handleNotification
public void handleNotification(String message)
- Specified by:
handleNotification in interface NotificationHandler
- Parameters:
message -
getTimeout
public long getTimeout()
setTimeout
public void setTimeout(long timeout)
getInterval
public long getInterval()
setInterval
public void setInterval(long interval)
Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.