dods.servers.agg
Class ProxySDFloat32

java.lang.Object
  extended by dods.dap.BaseType
      extended by dods.dap.DFloat32
          extended by dods.dap.Server.SDFloat32
              extended by dods.servers.agg.ProxySDFloat32
All Implemented Interfaces:
ClientIO, ExprParserConstants, RelOps, ServerMethods, HasProxyObject, Cloneable

public class ProxySDFloat32
extends SDFloat32
implements HasProxyObject

Proxy for a variable in another (DODS) dataset

Version:
$Revision: 1.4 $
Author:
jcaron

Field Summary
 
Fields inherited from interface dods.dap.parser.ExprParserConstants
AMPERSAND, ASTERISK, COLON, COMMA, DEFAULT, EOF, EQUAL, EXPONENT, FLOAT, GREATER, GREATER_EQL, ID, INT, LBRACE, LBRACKET, LESS, LESS_EQL, LPAREN, MANTISSA, NOT_EQUAL, QUOTED_STR, RBRACE, RBRACKET, REGEXP, RPAREN, SEPARATOR, STR, tokenImage, UNQUOTED_STR, UNTERM_QUOTE
 
Method Summary
 Object getProxy()
          get the underlying proxy
 boolean read(String datasetName, Object specialO)
          Read the value from original dataset (parameters are ignored).
 void setProxy(Object v)
          get/set the underlying proxy
 
Methods inherited from class dods.dap.Server.SDFloat32
equal, greater_eql, greater, isProject, isRead, isSynthesized, less_eql, less, not_equal, printDecl, printVal, regexp, serialize, setProject, setProject, setRead, setSynthesized
 
Methods inherited from class dods.dap.DFloat32
deserialize, externalize, getTypeName, getValue, newPrimitiveVector, setValue
 
Methods inherited from class dods.dap.BaseType
checkSemantics, checkSemantics, clone, elementCount, elementCount, getLongName, getName, getParent, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printVal, printVal, printVal, setName, setParent
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setProxy

public void setProxy(Object v)
get/set the underlying proxy

Specified by:
setProxy in interface HasProxyObject

getProxy

public Object getProxy()
Description copied from interface: HasProxyObject
get the underlying proxy

Specified by:
getProxy in interface HasProxyObject

read

public boolean read(String datasetName,
                    Object specialO)
             throws IOException
Read the value from original dataset (parameters are ignored).

Specified by:
read in interface ServerMethods
Specified by:
read in class SDFloat32
Parameters:
datasetName - String identifying the file or other data store from which to read a vaue for this variable.
specialO - This Object is a goody that is used by Server implementations to deliver important, and as yet unknown, stuff to the read method. If you don't need it, make it a null.
Returns:
true if more data remains to be read, otherwise false. This is an abtsract method that must be implemented as part of the installation/localization of a DODS server.
Throws:
IOException
EOFException