Main Page | Class Hierarchy | Class List | File List | Class Members | Related Pages

glite::rgma::ProducerFactory Class Reference

#include <ProducerFactory.h>

List of all members.

Public Member Functions

virtual OnDemandProducercreateOnDemandProducer (TimeInterval terminationInterval, URI uri, StringList voNames)=0 throw (RemoteException, RGMAException)
virtual OnDemandProducercreateOnDemandProducer (TimeInterval terminationInterval, URI uri)=0 throw (RemoteException, RGMAException)
virtual OnDemandProducerreconnectOnDemandProducer (ResourceEndpoint resourceEndpoint)=0 throw (RGMAException, RemoteException, UnknownResourceException)
virtual PrimaryProducercreatePrimaryProducer (TimeInterval terminationInterval, ProducerProperties producerProperties, StringList voNames)=0 throw (RemoteException, RGMAException)
virtual PrimaryProducercreatePrimaryProducer (TimeInterval terminationInterval, ProducerProperties producerProperties)=0 throw (RemoteException, RGMAException)
virtual PrimaryProducerreconnectPrimaryProducer (ResourceEndpoint resourceEndpoint)=0 throw (RGMAException, RemoteException, UnknownResourceException)
virtual SecondaryProducercreateSecondaryProducer (TimeInterval terminationInterval, ProducerProperties producerProperties, StringList voNames)=0 throw (RemoteException, RGMAException)
virtual SecondaryProducercreateSecondaryProducer (TimeInterval terminationInterval, ProducerProperties producerProperties)=0 throw (RemoteException, RGMAException)
virtual SecondaryProducerreconnectSecondaryProducer (ResourceEndpoint resourceEndpoint)=0 throw (RGMAException, RemoteException, UnknownResourceException)


Detailed Description

A factory for Primary, Secondary and OnDemand Producers.


Member Function Documentation

virtual OnDemandProducer* glite::rgma::ProducerFactory::createOnDemandProducer TimeInterval  terminationInterval,
URI  uri
throw (RemoteException, RGMAException) [pure virtual]
 

Creates an on-demand producer.

Parameters:
terminationInterval The interval after which this Producer will be removed from the remote service if there has been no contact from the API.
url The URL for the system that will respond to queries.
Returns:
A new on-demand producer.
Exceptions:
RemoteException If the service could not be contacted.
RGMAException If no endpointReference is defined in properties. If the URI is invalid.

virtual OnDemandProducer* glite::rgma::ProducerFactory::createOnDemandProducer TimeInterval  terminationInterval,
URI  uri,
StringList  voNames
throw (RemoteException, RGMAException) [pure virtual]
 

Creates an on-demand producer.

Parameters:
terminationInterval The interval after which this Producer will be removed from the remote service if there has been no contact from the API.
url The URL for the system that will respond to queries.
voNames List of VO names to publish to.
Returns:
A new on-demand producer.

Deprecated:
use OnDemandProducer* createOnDemandProducer( TimeInterval terminationInterval, URI uri)
Exceptions:
RemoteException If the service could not be contacted.
RGMAException If no endpointReference is defined in properties. If the URI is invalid.

virtual PrimaryProducer* glite::rgma::ProducerFactory::createPrimaryProducer TimeInterval  terminationInterval,
ProducerProperties  producerProperties
throw (RemoteException, RGMAException) [pure virtual]
 

Creates a primary producer that uses the specified data storage and producer type.

Parameters:
terminationInterval The interval after which this Producer will be removed from the remote service if there has been no contact from the API.
producerProperties a ProducerProperties object
Returns:
A new primary producer.
Exceptions:
RemoteException If the service could not be contacted.
RGMAException If no endpointReference is defined in properties. If the storage location is invalid.

virtual PrimaryProducer* glite::rgma::ProducerFactory::createPrimaryProducer TimeInterval  terminationInterval,
ProducerProperties  producerProperties,
StringList  voNames
throw (RemoteException, RGMAException) [pure virtual]
 

Creates a primary producer that uses the specified data storage and producer type.

Parameters:
terminationInterval The interval after which this Producer will be removed from the remote service if there has been no contact from the API.
producerProperties a ProducerProperties object
voNames List of VO names to publish to.
Returns:
A new primary producer.

Deprecated:
use createPrimaryProducer( TimeInterval terminationInterval, ProducerProperties producerProperties)
Exceptions:
RemoteException If the service could not be contacted.
RGMAException If no endpointReference is defined in properties. If the storage location is invalid.

virtual SecondaryProducer* glite::rgma::ProducerFactory::createSecondaryProducer TimeInterval  terminationInterval,
ProducerProperties  producerProperties
throw (RemoteException, RGMAException) [pure virtual]
 

Creates a secondary producer, that uses a primary producer with the specified attributes to republish information.

Parameters:
terminationInterval The interval after which this Producer will be removed from the remote service if there has been no contact from the API.
producerProperties a ProducerProperties object
Returns:
A new secondary producer.
Exceptions:
RemoteException If the service could not be contacted.
RGMAException If no endpointReference is defined in properties. If the storage location is invalid.

virtual SecondaryProducer* glite::rgma::ProducerFactory::createSecondaryProducer TimeInterval  terminationInterval,
ProducerProperties  producerProperties,
StringList  voNames
throw (RemoteException, RGMAException) [pure virtual]
 

Creates a secondary producer, that uses a primary producer with the specified attributes to republish information.

Parameters:
terminationInterval The interval after which this Producer will be removed from the remote service if there has been no contact from the API.
producerProperties a ProducerProperties object
voNames List of VO names to publish to.
Returns:
A new secondary producer.

Deprecated:
use createSecondaryProducer( TimeInterval terminationInterval, ProducerProperties producerProperties)
Exceptions:
RemoteException If the service could not be contacted.
RGMAException If no endpointReference is defined in properties. If the storage location is invalid.

virtual OnDemandProducer* glite::rgma::ProducerFactory::reconnectOnDemandProducer ResourceEndpoint  resourceEndpoint  )  throw (RGMAException, RemoteException, UnknownResourceException) [pure virtual]
 

Reconnects to an existing OnDemandProducer and checks that it is still active by sending a showSignOfLife call.

Parameters:
resourceEndpoint Endpoint of the OnDemandProducer.
Returns:
A reference to the OnDemandProducer.

virtual PrimaryProducer* glite::rgma::ProducerFactory::reconnectPrimaryProducer ResourceEndpoint  resourceEndpoint  )  throw (RGMAException, RemoteException, UnknownResourceException) [pure virtual]
 

Reconnects to an existing PrimaryProducer and checks that it is still active by sending a showSignOfLife call.

Parameters:
resourceEndpoint Endpoint of the PrimaryProducer.
Returns:
A reference to the PrimaryProducer.

virtual SecondaryProducer* glite::rgma::ProducerFactory::reconnectSecondaryProducer ResourceEndpoint  resourceEndpoint  )  throw (RGMAException, RemoteException, UnknownResourceException) [pure virtual]
 

Reconnects to an existing SecondaryProducer and checks that it is still active by sending a showSignOfLife call.

Parameters:
resourceEndpoint Endpoint of the SecondaryProducer.
Returns:
A reference to the SecondaryProducer.


The documentation for this class was generated from the following file:
Generated on Wed Apr 25 19:11:33 2007 for glite-rgma-api-cpp by doxygen 1.3.5