gsfc.nssdc.cdf
Interface CDFDelegate

All Known Implementing Classes:
CDFNativeLibrary

public interface CDFDelegate

This class defines the method that is responsible for acting as the gateway between the CDF Java code and the CDF library. The CDFNativeLibrary class that implementing this interface will cause the JNI to be loaded. This class is available only to the CDF object that uses the CDFDelegate to make requests to JNI. All CDF's other objects, i.e., Attribute, Entry, Variable (and its CDFData), need to refer to the containing CDF object to make requests.

Version:
1.0
See Also:
CDFNativeLibrary

Method Summary
 void cdflib(CDF theCDF, CDFObject cdfObject, java.util.Vector cmds)
          Defines the method that is responsible for acting as the gateway between the CDF Java code and the CDF library.
 

Method Detail

cdflib

void cdflib(CDF theCDF,
            CDFObject cdfObject,
            java.util.Vector cmds)
            throws CDFException
Defines the method that is responsible for acting as the gateway between the CDF Java code and the CDF library. This method is responsible for sending Java's request to the CDF library and returning the results from the CDF library to the Java side.

Parameters:
theCDF - the current CDF to be processed
cdfObject - the calling CDF object (e.g. Attribute, variable, etc.)
cmds - a Vector that contains the CDF internal interface library commands to be executed
Throws:
CDFException - if an error occurs processing the requested commands in JNI