public class Notifier
extends java.lang.Object
Constructor and Description |
---|
Notifier()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
org.apache.axis.message.addressing.EndpointReferenceType[] |
getSubscribersForTopic(java.lang.String topic) |
IsOngoingResponse |
isOngoing(IsOngoingRequest request)
controls if the register topic operation is still onGoing
|
java.lang.String[] |
listTopicForNotifier(org.apache.axis.message.addressing.EndpointReferenceType epr) |
ListTopicsResponse |
listTopics(ListTopics topics)
Retrieve the list of topics published in the Notifier
|
void |
logSecurityInfo(java.lang.String methodName)
Log the caller
|
java.lang.String |
registerTopic(RegisterTopicMessage message)
Allows Notifiers to register their topics to Notifier.
|
RemoveNotifierResponse |
removeNotifier(RemoveNotifier notifiers)
Removes the notifiers from the topics
|
RemoveSubscriberResponse |
removeSubscriber(RemoveSubscriber subscribers) |
RemoveSubscriptionResponse |
removeSubscription(SubscribeMessage message)
This method allows Consumer to unsubscribe from a topic.
|
SubscribeToTopicResponse |
subscribeToTopic(SubscribeMessage message)
Subscribes the given Consumer to the notifier(s) that expose the given topic
This methods directly subscribe the Consumer to the available notifiers and maintains association btw subscriber and topic in order to subscribe it to if other Consumers expose the same topic |
UnregisterTopicResponse |
unregisterTopic(RegisterTopicMessage message)
Method called by a notifier that have to unregister its topics from Notifier
|
public Notifier() throws java.rmi.RemoteException
java.rmi.RemoteException
- Exceptionpublic SubscribeToTopicResponse subscribeToTopic(SubscribeMessage message) throws GCUBEFault
message
- Contains the Consumer Epr and the topic to subscribe toGCUBEFault
- Exceptionpublic RemoveSubscriptionResponse removeSubscription(SubscribeMessage message) throws GCUBEFault
message
- Contains the Consumer Epr and the topic to unsubscribe toGCUBEFault
- Exceptionpublic java.lang.String registerTopic(RegisterTopicMessage message) throws GCUBEFault
message
- Contains the EnpointReferenceType of the Notifier and the list of Topis to exposesGCUBEFault
- Exceptionpublic UnregisterTopicResponse unregisterTopic(RegisterTopicMessage message) throws GCUBEFault
message
- the Message definied in the Service WSDlGCUBEFault
- Exceptionpublic ListTopicsResponse listTopics(ListTopics topics) throws GCUBEFault
topics
- same as VoidGCUBEFault
- Exceptionpublic java.lang.String[] listTopicForNotifier(org.apache.axis.message.addressing.EndpointReferenceType epr) throws GCUBEFault
epr
- the notifier eprGCUBEFault
- Exceptionpublic RemoveNotifierResponse removeNotifier(RemoveNotifier notifiers) throws GCUBEFault
notifiers
- array of EPRGCUBEFault
- Exceptionpublic RemoveSubscriberResponse removeSubscriber(RemoveSubscriber subscribers) throws GCUBEFault
subscribers
- same as voidGCUBEFault
- Exceptionpublic org.apache.axis.message.addressing.EndpointReferenceType[] getSubscribersForTopic(java.lang.String topic) throws GCUBEFault
topic
- the topicGCUBEFault
- Exceptionpublic void logSecurityInfo(java.lang.String methodName)
methodName
- the method namepublic IsOngoingResponse isOngoing(IsOngoingRequest request) throws java.rmi.RemoteException
isOngoingRequest
- java.rmi.RemoteException