Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

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
 
Fields inherited from interface ucar.netcdf.NetcdfService
SVC_NAME
 
Constructor Summary
NetcdfServer_Stub()
           
NetcdfServer_Stub(java.rmi.server.RemoteRef rep)
           
 
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
 

Constructor Detail

NetcdfServer_Stub

public NetcdfServer_Stub()

NetcdfServer_Stub

public NetcdfServer_Stub(java.rmi.server.RemoteRef rep)
Method Detail

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


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690