|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.dvb.tvanytime.metadata.IPDatabase
public abstract class IPDatabase
Class providing access a TV Anytime server over IP. A new instance of this class is required for each of the remote databases that a client wishes to access.
Constructor Summary | |
---|---|
IPDatabase()
This constructor is provided for implementations and should not be used by GEM applications. |
Method Summary | |
---|---|
static IPDatabase[] |
getAvailableDatabases(DatabaseScope scope)
Get an array of IPDatabases that can provide metadata for the specified scope. |
void |
getCapabilityDescriptions(CapabilityDescriptionsListener listener)
Request the capability descriptions for this IPDatabase. |
Locator |
getURL()
Get the URL of the host providing this IPDatabase. |
static IPDatabase |
newInstance(CRID crid)
Get an instance of a IPDatabase where the platform chooses a server that can provide metadata for the given CRID authority. |
static IPDatabase |
newInstance(java.lang.String path)
Get an instance of an IPDatabase 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.Database |
---|
getDiscoveryRecord, getMetadata, getMetadata, getOptimisedQueryFields, query, query |
Constructor Detail |
---|
public IPDatabase()
Method Detail |
---|
public static IPDatabase newInstance(java.lang.String path)
path
- a URL that points to the metadata server.
public static IPDatabase newInstance(CRID crid) throws DatabaseException
crid
- The authority field from the supplied CRID is used to decide
which metadata server to use.
DatabaseException
- if a metadata service cannot be foundpublic static IPDatabase[] getAvailableDatabases(DatabaseScope scope) throws DatabaseException
scope
- the required scope of the IPDatabases
DatabaseException
- if no metadata services can be found for the specified scopepublic Locator getURL()
public void getCapabilityDescriptions(CapabilityDescriptionsListener listener)
listener
- a CapabilityDescriptionsListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |