|
||||||||||
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)
|
boolean |
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 org.gcube.common.core.faults.GCUBEFault
message
- Contains the Consumer Epr and the topic to subscribe to
org.gcube.common.core.faults.GCUBEFault
- Exceptionpublic RemoveSubscriptionResponse removeSubscription(SubscribeMessage message) throws org.gcube.common.core.faults.GCUBEFault
message
- Contains the Consumer Epr and the topic to unsubscribe to
org.gcube.common.core.faults.GCUBEFault
- Exceptionpublic java.lang.String registerTopic(RegisterTopicMessage message) throws org.gcube.common.core.faults.GCUBEFault
message
- Contains the EnpointReferenceType of the Notifier and the list of Topis to exposes
org.gcube.common.core.faults.GCUBEFault
- Exceptionpublic UnregisterTopicResponse unregisterTopic(RegisterTopicMessage message) throws org.gcube.common.core.faults.GCUBEFault
message
- the Message definied in the Service WSDl
org.gcube.common.core.faults.GCUBEFault
- Exceptionpublic ListTopicsResponse listTopics(ListTopics topics) throws org.gcube.common.core.faults.GCUBEFault
topics
- same as Void
org.gcube.common.core.faults.GCUBEFault
- Exceptionpublic java.lang.String[] listTopicForNotifier(org.apache.axis.message.addressing.EndpointReferenceType epr) throws org.gcube.common.core.faults.GCUBEFault
epr
- the notifier epr
org.gcube.common.core.faults.GCUBEFault
- Exceptionpublic RemoveNotifierResponse removeNotifier(RemoveNotifier notifiers) throws org.gcube.common.core.faults.GCUBEFault
notifiers
- array of EPR
org.gcube.common.core.faults.GCUBEFault
- Exceptionpublic RemoveSubscriberResponse removeSubscriber(RemoveSubscriber subscribers) throws org.gcube.common.core.faults.GCUBEFault
subscribers
- same as void
org.gcube.common.core.faults.GCUBEFault
- Exceptionpublic org.apache.axis.message.addressing.EndpointReferenceType[] getSubscribersForTopic(java.lang.String topic) throws org.gcube.common.core.faults.GCUBEFault
topic
- the topic
org.gcube.common.core.faults.GCUBEFault
- Exceptionpublic void logSecurityInfo(java.lang.String methodName)
methodName
- the method namepublic boolean 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 |