gr.uoa.di.madgik.environment.notifications
Interface INotificationHandlingProvider

All Known Implementing Classes:
NotificationHandlingProvider

public interface INotificationHandlingProvider


Method Summary
 String registerNotificationTopic(String topicName, String producerId, EnvHintCollection Hints)
           
 SubscriberToTopic registerToNotificationTopic(String topicId, String listenerId, String subscriptionName, String selector, SubscriberToTopic subscriberToTopic, NotificationMessageListenerI messageListener, EnvHintCollection Hints)
           
 void sendNotificationToTopic(String topicId, String textMessage, HashMap<String,String> propertiesNameValueMap, EnvHintCollection Hints)
           
 void unregisterFromNotificationTopic(String topicId, String listenerId, SubscriberToTopic subscriberToTopic, EnvHintCollection Hints)
           
 void unregisterNotificationTopic(String topicId, EnvHintCollection Hints)
           
 

Method Detail

registerNotificationTopic

String registerNotificationTopic(String topicName,
                                 String producerId,
                                 EnvHintCollection Hints)
                                 throws EnvironmentInformationSystemException
Throws:
EnvironmentInformationSystemException

registerToNotificationTopic

SubscriberToTopic registerToNotificationTopic(String topicId,
                                              String listenerId,
                                              String subscriptionName,
                                              String selector,
                                              SubscriberToTopic subscriberToTopic,
                                              NotificationMessageListenerI messageListener,
                                              EnvHintCollection Hints)
                                              throws EnvironmentInformationSystemException
Throws:
EnvironmentInformationSystemException

unregisterNotificationTopic

void unregisterNotificationTopic(String topicId,
                                 EnvHintCollection Hints)
                                 throws EnvironmentInformationSystemException
Throws:
EnvironmentInformationSystemException

unregisterFromNotificationTopic

void unregisterFromNotificationTopic(String topicId,
                                     String listenerId,
                                     SubscriberToTopic subscriberToTopic,
                                     EnvHintCollection Hints)
                                     throws EnvironmentInformationSystemException
Throws:
EnvironmentInformationSystemException

sendNotificationToTopic

void sendNotificationToTopic(String topicId,
                             String textMessage,
                             HashMap<String,String> propertiesNameValueMap,
                             EnvHintCollection Hints)
                             throws EnvironmentInformationSystemException
Throws:
EnvironmentInformationSystemException


Copyright © 2012. All Rights Reserved.