de.fzj.unicore.wsrflite.xmlbeans.client
Class NotificationClient
java.lang.Object
de.fzj.unicore.wsrflite.xmlbeans.client.BaseWSRFClient
de.fzj.unicore.wsrflite.xmlbeans.client.NotificationClient
public class NotificationClient
- extends BaseWSRFClient
simple client for receiving notifications
- Author:
- schuller
|
Constructor Summary |
NotificationClient(org.w3.x2005.x08.addressing.EndpointReferenceType consumer,
String endpointUrl,
org.w3.x2005.x08.addressing.EndpointReferenceType epr)
|
NotificationClient(org.w3.x2005.x08.addressing.EndpointReferenceType consumer,
String endpointUrl,
org.w3.x2005.x08.addressing.EndpointReferenceType epr,
ISecurityProperties sec)
|
| Methods inherited from class de.fzj.unicore.wsrflite.xmlbeans.client.BaseWSRFClient |
checkConnection, checkConnection, destroy, getConnectionStatus, getCurrentTime, getEPR, getLT, getMultipleResourceProperties, getResourceProperty, getResourcePropertyDocument, GetResourcePropertyDocument, getRP, getSecurityProperties, getTerminationTime, getUpdateInterval, getUrl, makeProxy, queryResourceProperties, setConnectionTimeout, setConnectionTimeout, setRetryHandler, setTerminationTime, setUpdateInterval |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotificationClient
public NotificationClient(org.w3.x2005.x08.addressing.EndpointReferenceType consumer,
String endpointUrl,
org.w3.x2005.x08.addressing.EndpointReferenceType epr,
ISecurityProperties sec)
throws Exception
- Parameters:
endpointUrl - epr - sec -
- Throws:
Exception
NotificationClient
public NotificationClient(org.w3.x2005.x08.addressing.EndpointReferenceType consumer,
String endpointUrl,
org.w3.x2005.x08.addressing.EndpointReferenceType epr)
throws Exception
- Parameters:
endpointUrl - epr -
- Throws:
Exception
subscribe
public void subscribe(QName event)
- subscribe to all changes of the resource property defined by the given qname.
- Parameters:
event - QName
subscribe
public void subscribe(QName event,
String xpath)
- subscribe to "simple" property changes
- Parameters:
event - The QName of the resource property to watchxpath - An xpath expression to use as a message filter
unsubscribe
public void unsubscribe(QName event)
Copyright © 2010. All Rights Reserved.