public interface ClientIO
BaseType).
 This does not send the entire class as the Java Serializable
 interface does, rather it sends only the binary data values. Other software
 is responsible for sending variable type information (see DDS).| Modifier and Type | Method and Description | 
|---|---|
| void | deserialize(java.io.DataInputStream source,
           ServerVersion sv,
           StatusUI statusUI)Reads data from a  DataInputStream. | 
| void | externalize(java.io.DataOutputStream sink)Writes data to a  DataOutputStream. | 
void deserialize(java.io.DataInputStream source,
                 ServerVersion sv,
                 StatusUI statusUI)
          throws java.io.IOException,
                 java.io.EOFException,
                 DataReadException
DataInputStream. This method is only used
 on the client side of the OPeNDAP client/server connection.source - a DataInputStream to read from.sv - The ServerVersion returned by the server.
        (used by DSequence to determine which protocol version was
        used).statusUI - The StatusUI object to use for GUI updates
        and user cancellation notification (may be null).DataReadException - when invalid data is read, or if the user
         cancels the download.java.io.EOFException - if EOF is found before the variable is completely
         deserialized.java.io.IOException - thrown on any other InputStream exception.DataDDSvoid externalize(java.io.DataOutputStream sink)
          throws java.io.IOException
DataOutputStream. This method is used
 primarily by GUI clients which need to download OPeNDAP data, manipulate
 it, and then re-save it as a binary file.sink - a DataOutputStream to write to.java.io.IOException - thrown on any OutputStream
         exception.