ucar.netcdf
Interface NetcdfRemoteProxy
- All Superinterfaces:
- java.rmi.Remote
- All Known Implementing Classes:
- NetcdfRemoteProxyImpl, NetcdfRemoteProxyImpl_Stub
- public interface NetcdfRemoteProxy
- extends java.rmi.Remote
This interface wraps a single instance of Netcdf to
provide Remote services required in the construction
of an instance of RemoteNetcdf.
This interface is only needed by directory services like NetcdfService
to bootstrap instances of RemoteNetcdf.
It could be considered package or implementation private.
getSchema
public Schema getSchema()
throws java.rmi.RemoteException
- Returns:
- a Schema for the Netcdf this
represents.
getAccessor
public RemoteAccessor getAccessor(java.lang.String varName)
throws java.rmi.RemoteException
- Get an Accessor for a Variable, by name.
Given the Accessor and the ProtoVariable
obtained indirectly from getSchema() above,
RemoteNetcdf can create a remote proxy for the Variable.
- Parameters:
varName - String which names a Variable in the
Netcdf this represents.- Returns:
- a (Remote)Accessor for the Variable.
release
public void release()
throws java.rmi.RemoteException
- Indicate that you are done with this
Netcdf data set. Allows the service to free
resources (close the data set).