ucar.netcdf
Class NetcdfServer_Stub
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteStub
|
+--ucar.netcdf.NetcdfServer_Stub
- All Implemented Interfaces:
- NetcdfService, java.rmi.Remote, java.io.Serializable
- public final class NetcdfServer_Stub
- extends java.rmi.server.RemoteStub
- implements NetcdfService, java.rmi.Remote
- See Also:
- Serialized Form
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Method Summary |
java.lang.String[] |
list()
List the names of exported data sets. |
NetcdfRemoteProxy |
lookup(java.lang.String $_String_1)
Connect to (open) a remote Netcdf dataSet by name. |
int |
ping()
Test if the service is alive. |
Methods inherited from class java.rmi.server.RemoteStub |
setRef |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
NetcdfServer_Stub
public NetcdfServer_Stub()
NetcdfServer_Stub
public NetcdfServer_Stub(java.rmi.server.RemoteRef rep)
list
public java.lang.String[] list()
throws java.rmi.RemoteException
- Description copied from interface:
NetcdfService
- List the names of exported data sets.
- Specified by:
list
in interface NetcdfService
lookup
public NetcdfRemoteProxy lookup(java.lang.String $_String_1)
throws java.rmi.RemoteException
- Description copied from interface:
NetcdfService
- Connect to (open) a remote Netcdf dataSet by name.
If the name is not the same as one obtainable from
the list() opteration on this service, then this method
will fail.
- Specified by:
lookup
in interface NetcdfService
- Following copied from interface:
ucar.netcdf.NetcdfService
- Parameters:
dataSetName
- String name of the remote Netcdf- Returns:
- NetcdfRemoteProxy which can be used to create
an instance of RemoteNetcdf.
ping
public int ping()
throws java.rmi.RemoteException
- Description copied from interface:
NetcdfService
- Test if the service is alive.
Used by the automatic registration feature of the
NetcdfServer implementation.
- Specified by:
ping
in interface NetcdfService
- Following copied from interface:
ucar.netcdf.NetcdfService
- Returns:
- 0