org.globus.wsrf
Interface NotificationConsumerCallbackManager

All Superinterfaces:
Resource
All Known Implementing Classes:
NotificationConsumerCallbackManagerImpl

public interface NotificationConsumerCallbackManager
extends Resource

Interface to be implemented by a notification consumer resource.


Method Summary
 NotifyCallback getCallback(java.util.List topicPath)
          Get the notification callback for the supplied topic path
 void registerCallback(java.util.List topicPath, NotifyCallback callback)
          Register a notification callback
 

Method Detail

registerCallback

public void registerCallback(java.util.List topicPath,
                             NotifyCallback callback)
Register a notification callback

Parameters:
topicPath - The topic path for which this callback should be called. May be null, in which case the callback is called for notification messages for which no other callback is registered
callback - The notification callback
See Also:
NotifyCallback

getCallback

public NotifyCallback getCallback(java.util.List topicPath)
Get the notification callback for the supplied topic path

Parameters:
topicPath - The topic path. A null topic path will return the default callback.
Returns:
The notification callback