gr.uoa.di.madgik.environment.notifications
Class NotificationHandlingProvider
java.lang.Object
gr.uoa.di.madgik.environment.notifications.NotificationHandlingProvider
- All Implemented Interfaces:
- INotificationHandlingProvider
public class NotificationHandlingProvider
- extends Object
- implements INotificationHandlingProvider
|
Method Summary |
static INotificationHandlingProvider |
Init(String ProviderName,
EnvHintCollection Hints)
|
static boolean |
IsInit()
|
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotificationHandlingProvider
public NotificationHandlingProvider()
Init
public static INotificationHandlingProvider Init(String ProviderName,
EnvHintCollection Hints)
throws EnvironmentValidationException
- Throws:
EnvironmentValidationException
IsInit
public static boolean IsInit()
registerNotificationTopic
public String registerNotificationTopic(String topicName,
String producerId,
EnvHintCollection Hints)
throws EnvironmentInformationSystemException
- Specified by:
registerNotificationTopic in interface INotificationHandlingProvider
- Throws:
EnvironmentInformationSystemException
registerToNotificationTopic
public SubscriberToTopic registerToNotificationTopic(String topicId,
String listenerId,
String subscriptionName,
String selector,
SubscriberToTopic subscriberToTopic,
NotificationMessageListenerI messageListener,
EnvHintCollection Hints)
throws EnvironmentInformationSystemException
- Specified by:
registerToNotificationTopic in interface INotificationHandlingProvider
- Throws:
EnvironmentInformationSystemException
unregisterNotificationTopic
public void unregisterNotificationTopic(String topicId,
EnvHintCollection Hints)
throws EnvironmentInformationSystemException
- Specified by:
unregisterNotificationTopic in interface INotificationHandlingProvider
- Throws:
EnvironmentInformationSystemException
unregisterFromNotificationTopic
public void unregisterFromNotificationTopic(String topicId,
String listenerId,
SubscriberToTopic subscriberToTopic,
EnvHintCollection Hints)
throws EnvironmentInformationSystemException
- Specified by:
unregisterFromNotificationTopic in interface INotificationHandlingProvider
- Throws:
EnvironmentInformationSystemException
sendNotificationToTopic
public void sendNotificationToTopic(String topicId,
String textMessage,
HashMap<String,String> propertiesNameValueMap,
EnvHintCollection Hints)
throws EnvironmentInformationSystemException
- Specified by:
sendNotificationToTopic in interface INotificationHandlingProvider
- Throws:
EnvironmentInformationSystemException
Copyright © 2013. All Rights Reserved.