org.glite.ce.monitorapij.ws
Class CEMonitorBindingImpl

java.lang.Object
  extended byorg.glite.ce.monitorapij.ws.CEMonitorBindingImpl
All Implemented Interfaces:
CEMonitorPort, java.rmi.Remote

public class CEMonitorBindingImpl
extends java.lang.Object
implements CEMonitorPort


Constructor Summary
CEMonitorBindingImpl()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CEMonitorBindingImpl

public CEMonitorBindingImpl()
Method Detail

ping

public void ping()
          throws java.rmi.RemoteException
Description copied from interface: CEMonitorPort
Not yet implemented.

Specified by:
ping in interface CEMonitorPort
Throws:
java.rmi.RemoteException

getInfo

public Info getInfo()
             throws java.rmi.RemoteException,
                    org.glite.ce.faults.GenericFault
Description copied from interface: CEMonitorPort
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.

Specified by:
getInfo in interface CEMonitorPort
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
Description copied from interface: CEMonitorPort
Subscribe for asynchronous notifications related to a specific topic's events.

Specified by:
subscribe in interface CEMonitorPort
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
Description copied from interface: CEMonitorPort
Unsubscribe a previously created subscription.

Specified by:
unsubscribe in interface CEMonitorPort
Throws:
java.rmi.RemoteException
org.glite.ce.faults.GenericFault

pauseSubscription

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

Specified by:
pauseSubscription in interface CEMonitorPort
Throws:
java.rmi.RemoteException
org.glite.ce.faults.GenericFault

resumeSubscription

public void resumeSubscription(SubscriptionRef resumeParam)
                        throws java.rmi.RemoteException,
                               org.glite.ce.faults.GenericFault
Description copied from interface: CEMonitorPort
Resume a previously paused subscription.

Specified by:
resumeSubscription in interface CEMonitorPort
Throws:
java.rmi.RemoteException
org.glite.ce.faults.GenericFault

getTopics

public TopicArray getTopics()
                     throws java.rmi.RemoteException,
                            org.glite.ce.faults.GenericFault
Description copied from interface: CEMonitorPort
Get the topics supported by CEMonitor.

Specified by:
getTopics in interface CEMonitorPort
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
Description copied from interface: CEMonitorPort
This method is used to obtain the last event relative to the specified topic.

Specified by:
getEvent in interface CEMonitorPort
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
Description copied from interface: CEMonitorPort
This operation is not yet implemented. It is thought to create a jerarhy of CEMonitors.

Specified by:
notify in interface CEMonitorPort
Throws:
java.rmi.RemoteException