org.dvb.tvanytime.metadata.ip
Class MulticastDatabase

java.lang.Object
  extended by org.dvb.tvanytime.metadata.ip.MulticastDatabase
All Implemented Interfaces:
Database, MonitoredDatabase

public abstract class MulticastDatabase
extends java.lang.Object
implements MonitoredDatabase

Class providing access to a Broadband Content Guide delivered using the multicast delivery method specified in ETSI TS 102 034 V1.2.1.


Constructor Summary
MulticastDatabase()
          This constructor is provided for implementations and should not be used by GEM applications.
 
Method Summary
 Locator getURL()
          Get the URL of the host providing this MulticastDatabase.
static MulticastDatabase newInstance(java.lang.String path)
          Get an instance of a MulticastDatabase where the caller chooses the server.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.dvb.tvanytime.metadata.MonitoredDatabase
getMetadata, getMetadata, query, query
 
Methods inherited from interface org.dvb.tvanytime.metadata.Database
getDiscoveryRecord, getMetadata, getMetadata, getOptimisedQueryFields, query, query
 

Constructor Detail

MulticastDatabase

public MulticastDatabase()
This constructor is provided for implementations and should not be used by GEM applications.

Method Detail

newInstance

public static MulticastDatabase newInstance(java.lang.String path)
                                     throws DatabaseException
Get an instance of a MulticastDatabase where the caller chooses the server.

Parameters:
path - a URL that points to the metadata server.
Returns:
a MulticastDatabase
Throws:
DatabaseException - if the platform is unable to locate the metadata service.

getURL

public Locator getURL()
Get the URL of the host providing this MulticastDatabase.

Returns:
the URL