|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.netcdf.AbstractNetcdf
ucar.netcdf.RemoteNetcdf
public class RemoteNetcdf
A concrete implementation of the Netcdf interface, this class uses java rmi to access a remote Netcdf.
Netcdf
Constructor Summary | |
---|---|
RemoteNetcdf(NetcdfRemoteProxy remote)
Given a NetcdfRemoteProxy, construct a RemoteNetcdf. |
|
RemoteNetcdf(java.lang.String remoteHostName,
java.lang.String dataSetName)
Open up a remote Netcdf by name. |
Method Summary | |
---|---|
void |
close()
Indicate that you are done with this remote Netcdf. |
protected void |
finalize()
Ensures that the remote resources associated with this are released when there are no more references to it. |
static NetcdfService |
getNetcdfService(java.lang.String remoteHostName)
Get remote dataset directory service from a given host. |
protected Accessor |
ioFactory(ProtoVariable proto)
Used when creating variables to populate this. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class ucar.netcdf.AbstractNetcdf |
---|
add, contains, contains, get, getAttribute, getAttributes, getDimensions, initHashtable, iterator, putAttribute, putDimension, size, toCdl, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RemoteNetcdf(NetcdfRemoteProxy remote) throws java.rmi.RemoteException
java.rmi.RemoteException
public RemoteNetcdf(java.lang.String remoteHostName, java.lang.String dataSetName) throws java.rmi.RemoteException, java.rmi.NotBoundException, java.net.MalformedURLException
remoteHostName
- String host name or dotted quaddataSetName
- String name of the remote Netcdf
java.rmi.RemoteException
java.rmi.NotBoundException
java.net.MalformedURLException
Method Detail |
---|
public static NetcdfService getNetcdfService(java.lang.String remoteHostName) throws java.rmi.RemoteException, java.rmi.NotBoundException, java.net.MalformedURLException
remoteHostName
- String host name or dotted quad
java.rmi.RemoteException
java.rmi.NotBoundException
java.net.MalformedURLException
public void close() throws java.rmi.RemoteException
java.rmi.RemoteException
NetcdfRemoteProxy.release()
protected Accessor ioFactory(ProtoVariable proto) throws java.lang.reflect.InvocationTargetException
AbstractNetcdf
ioFactory
in class AbstractNetcdf
java.lang.reflect.InvocationTargetException
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
close()
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |