public abstract class LinkedDataSource
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static boolean |
DEBUG
Debugging flag.
|
protected java.lang.String |
name
The name of this LinkedDataSource.
|
| Constructor and Description |
|---|
LinkedDataSource(java.lang.String name)
Construct a LinkedDataSource with the given name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dataChanged(Data data)
Update the data to which this LinkedDataSource is linked.
|
java.lang.String |
getName()
Return the name of this LinkedDataSource.
|
DataReferenceImpl |
getReference()
Return the DataReference for this LinkedDataSource.
|
boolean |
isAlive()
Return whether the connection to the data source is still alive.
|
abstract void |
open(java.lang.String id)
Load initial data from the given data source and remain linked
to the data source, monitoring it for changes to the data.
|
protected static final boolean DEBUG
protected java.lang.String name
public LinkedDataSource(java.lang.String name)
public abstract void open(java.lang.String id)
throws java.io.IOException,
VisADException,
java.rmi.RemoteException
java.io.IOExceptionVisADExceptionjava.rmi.RemoteExceptionpublic void dataChanged(Data data) throws VisADException, java.rmi.RemoteException
VisADExceptionjava.rmi.RemoteExceptionpublic java.lang.String getName()
public DataReferenceImpl getReference()
public boolean isAlive()