public class WsmgClient extends Object implements ConsumerNotificationHandler, NotificationHandler
| Constructor and Description |
|---|
WsmgClient(Monitor monitor)
Constructs a WsmgClient.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getInterval() |
long |
getTimeout() |
void |
handleNotification(org.apache.axiom.soap.SOAPEnvelope message) |
void |
handleNotification(String message) |
void |
setInterval(long interval) |
void |
setTimeout(long timeout) |
void |
subscribe()
Subscribes to the notification.
|
void |
unsubscribe()
Unsubscribes from the notification.
|
public WsmgClient(Monitor monitor)
monitor - public void subscribe()
throws MonitorException
MonitorExceptionpublic void unsubscribe()
throws MonitorException
MonitorExceptionpublic void handleNotification(org.apache.axiom.soap.SOAPEnvelope message)
handleNotification in interface ConsumerNotificationHandlerNotificationHandler.handleNotification(java.lang.String)public void handleNotification(String message)
handleNotification in interface NotificationHandlermessage - public long getTimeout()
public void setTimeout(long timeout)
public long getInterval()
public void setInterval(long interval)
Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.