org.glite.ce.monitorapij.ws
Interface CEMonitorPort

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
CEMonitorBindingImpl, CEMonitorBindingStub

public interface CEMonitorPort
extends java.rmi.Remote


Method Summary
 Event getEvent(Topic topic)
          This method is used to obtain the last event relative to the specified topic.
 Info getInfo()
          Get an Info object containing some useful information about the CEMonitor.
 TopicArray getTopics()
          Get the topics supported by CEMonitor.
 void notify(Notification notification)
          This operation is not yet implemented.
 void pauseSubscription(SubscriptionRef pauseParam)
          Stop the asynchronous notification sending relative to the specified subscription.
 void ping()
          Not yet implemented.
 void resumeSubscription(SubscriptionRef resumeParam)
          Resume a previously paused subscription.
 SubscriptionRef subscribe(Subscription subscription)
          Subscribe for asynchronous notifications related to a specific topic's events.
 void unsubscribe(SubscriptionRef unsubscribeParam)
          Unsubscribe a previously created subscription.
 

Method Detail

ping

public void ping()
          throws java.rmi.RemoteException
Not yet implemented.

Throws:
java.rmi.RemoteException

getInfo

public Info getInfo()
             throws java.rmi.RemoteException,
                    org.glite.ce.faults.GenericFault
Get an Info object containing some useful information about the CEMonitor. It contains the version and a brief description of the CEMonitor, and a list of available topics and actions.

Throws:
java.rmi.RemoteException
org.glite.ce.faults.GenericFault

subscribe

public SubscriptionRef subscribe(Subscription subscription)
                          throws java.rmi.RemoteException,
                                 org.glite.ce.faults.GenericFault,
                                 org.glite.ce.monitorapij.faults.SubscriptionFault
Subscribe for asynchronous notifications related to a specific topic's events.

Throws:
java.rmi.RemoteException
org.glite.ce.faults.GenericFault
org.glite.ce.monitorapij.faults.SubscriptionFault

unsubscribe

public void unsubscribe(SubscriptionRef unsubscribeParam)
                 throws java.rmi.RemoteException,
                        org.glite.ce.faults.GenericFault
Unsubscribe a previously created subscription.

Throws:
java.rmi.RemoteException
org.glite.ce.faults.GenericFault

pauseSubscription

public void pauseSubscription(SubscriptionRef pauseParam)
                       throws java.rmi.RemoteException,
                              org.glite.ce.faults.GenericFault
Stop the asynchronous notification sending relative to the specified subscription.

Throws:
java.rmi.RemoteException
org.glite.ce.faults.GenericFault

resumeSubscription

public void resumeSubscription(SubscriptionRef resumeParam)
                        throws java.rmi.RemoteException,
                               org.glite.ce.faults.GenericFault
Resume a previously paused subscription.

Throws:
java.rmi.RemoteException
org.glite.ce.faults.GenericFault

getTopics

public TopicArray getTopics()
                     throws java.rmi.RemoteException,
                            org.glite.ce.faults.GenericFault
Get the topics supported by CEMonitor.

Throws:
java.rmi.RemoteException
org.glite.ce.faults.GenericFault

getEvent

public Event getEvent(Topic topic)
               throws java.rmi.RemoteException,
                      org.glite.ce.faults.GenericFault,
                      org.glite.ce.monitorapij.faults.DialectNotSupportedFault,
                      org.glite.ce.monitorapij.faults.TopicNotSupportedFault
This method is used to obtain the last event relative to the specified topic.

Throws:
java.rmi.RemoteException
org.glite.ce.faults.GenericFault
org.glite.ce.monitorapij.faults.DialectNotSupportedFault
org.glite.ce.monitorapij.faults.TopicNotSupportedFault

notify

public void notify(Notification notification)
            throws java.rmi.RemoteException
This operation is not yet implemented. It is thought to create a jerarhy of CEMonitors.

Throws:
java.rmi.RemoteException