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

rgma::impl::ProducerFactoryImpl Class Reference

#include <ProducerFactoryImpl.h>

List of all members.

Public Member Functions

OnDemandProducercreateOnDemandProducer (TimeInterval terminationInterval, URI uri, StringList voNames) throw (RemoteException, RGMAException)
OnDemandProducercreateOnDemandProducer (TimeInterval terminationInterval, URI uri) throw (RemoteException, RGMAException)
OnDemandProducerreconnectOnDemandProducer (ResourceEndpoint resourceEndpoint) throw (RGMAException, RemoteException, UnknownResourceException)
PrimaryProducercreatePrimaryProducer (TimeInterval terminationInterval, ProducerProperties producerProperties, StringList voNames) throw (RemoteException, RGMAException)
PrimaryProducercreatePrimaryProducer (TimeInterval terminationInterval, ProducerProperties producerProperties) throw (RemoteException, RGMAException)
PrimaryProducerreconnectPrimaryProducer (ResourceEndpoint resourceEndpoint) throw (RGMAException, RemoteException, UnknownResourceException)
SecondaryProducerProducerFactoryImpl::createSecondaryProducer (TimeInterval terminationInterval, ProducerProperties producerProperties, StringList voNames) throw (RemoteException, RGMAException)
SecondaryProducerProducerFactoryImpl::createSecondaryProducer (TimeInterval terminationInterval, ProducerProperties producerProperties) throw (RemoteException, RGMAException)
SecondaryProducerreconnectSecondaryProducer (ResourceEndpoint resourceEndpoint) throw (RGMAException, RemoteException, UnknownResourceException)


Detailed Description

Implementation of the ProducerFactory interface


Member Function Documentation

OnDemandProducer * rgma::impl::ProducerFactoryImpl::createOnDemandProducer TimeInterval  terminationInterval,
URI  uri
throw (RemoteException, RGMAException)
 

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.

OnDemandProducer * rgma::impl::ProducerFactoryImpl::createOnDemandProducer TimeInterval  terminationInterval,
URI  uri,
StringList  voNames
throw (RemoteException, RGMAException)
 

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 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.

PrimaryProducer * rgma::impl::ProducerFactoryImpl::createPrimaryProducer TimeInterval  terminationInterval,
ProducerProperties  producerProperties
throw (RemoteException, RGMAException)
 

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.

PrimaryProducer * rgma::impl::ProducerFactoryImpl::createPrimaryProducer TimeInterval  terminationInterval,
ProducerProperties  producerProperties,
StringList  voNames
throw (RemoteException, RGMAException)
 

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

Deprecated:
use createPrimaryProducer( TimeInterval terminationInterval, ProducerProperties producerProperties)
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.
Exceptions:
RemoteException If the service could not be contacted.
RGMAException If no endpointReference is defined in properties. If the storage location is invalid.

SecondaryProducer* rgma::impl::ProducerFactoryImpl::ProducerFactoryImpl::createSecondaryProducer TimeInterval  terminationInterval,
ProducerProperties  producerProperties
throw (RemoteException, RGMAException)
 

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.

SecondaryProducer* rgma::impl::ProducerFactoryImpl::ProducerFactoryImpl::createSecondaryProducer TimeInterval  terminationInterval,
ProducerProperties  producerProperties,
StringList  voNames
throw (RemoteException, RGMAException)
 

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

Deprecated:
use createSecondaryProducer( TimeInterval terminationInterval, ProducerProperties producerProperties)
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.
Exceptions:
RemoteException If the service could not be contacted.
RGMAException If no endpointReference is defined in properties. If the storage location is invalid.

OnDemandProducer * rgma::impl::ProducerFactoryImpl::reconnectOnDemandProducer ResourceEndpoint  resourceEndpoint  )  throw (RGMAException, RemoteException, UnknownResourceException)
 

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.

PrimaryProducer * rgma::impl::ProducerFactoryImpl::reconnectPrimaryProducer ResourceEndpoint  resourceEndpoint  )  throw (RGMAException, RemoteException, UnknownResourceException)
 

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.

SecondaryProducer * rgma::impl::ProducerFactoryImpl::reconnectSecondaryProducer ResourceEndpoint  resourceEndpoint  )  throw (RGMAException, RemoteException, UnknownResourceException)
 

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 files:
Generated on Thu May 11 19:23:44 2006 for glite-rgma-api-cpp by doxygen 1.3.5