|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.informationsystem.notifier.impl.Notifier
public class Notifier
notifier Service Class
Constructor Summary | |
---|---|
Notifier()
Default Constructor |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Notifier() throws java.rmi.RemoteException
java.rmi.RemoteException
- ExceptionMethod Detail |
---|
public SubscribeToTopicResponse subscribeToTopic(SubscribeMessage message) throws GCUBEFault
message
- Contains the Consumer Epr and the topic to subscribe to
GCUBEFault
- Exceptionpublic RemoveSubscriptionResponse removeSubscription(SubscribeMessage message) throws GCUBEFault
message
- Contains the Consumer Epr and the topic to unsubscribe to
GCUBEFault
- Exceptionpublic java.lang.String registerTopic(RegisterTopicMessage message) throws GCUBEFault
message
- Contains the EnpointReferenceType of the Notifier and the list of Topis to exposes
GCUBEFault
- Exceptionpublic UnregisterTopicResponse unregisterTopic(RegisterTopicMessage message) throws GCUBEFault
message
- the Message definied in the Service WSDl
GCUBEFault
- Exceptionpublic ListTopicsResponse listTopics(ListTopics topics) throws GCUBEFault
topics
- same as Void
GCUBEFault
- Exceptionpublic java.lang.String[] listTopicForNotifier(org.apache.axis.message.addressing.EndpointReferenceType epr) throws GCUBEFault
epr
- the notifier epr
GCUBEFault
- Exceptionpublic RemoveNotifierResponse removeNotifier(RemoveNotifier notifiers) throws GCUBEFault
notifiers
- array of EPR
GCUBEFault
- Exceptionpublic RemoveSubscriberResponse removeSubscriber(RemoveSubscriber subscribers) throws GCUBEFault
subscribers
- same as void
GCUBEFault
- Exceptionpublic org.apache.axis.message.addressing.EndpointReferenceType[] getSubscribersForTopic(java.lang.String topic) throws GCUBEFault
topic
- the topic
GCUBEFault
- Exceptionpublic void logSecurityInfo(java.lang.String methodName)
methodName
- the method namepublic IsOngoingResponse isOngoing(IsOngoingRequest request) throws java.rmi.RemoteException
isOngoingRequest
-
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |