org.objectweb.cjdbc.driver.protocol
Class SQLDataSerialization.DoubleSerializer

java.lang.Object
  extended byorg.objectweb.cjdbc.driver.protocol.SQLDataSerialization.Serializer
      extended byorg.objectweb.cjdbc.driver.protocol.SQLDataSerialization.DoubleSerializer
Enclosing class:
SQLDataSerialization

private static final class SQLDataSerialization.DoubleSerializer
extends SQLDataSerialization.Serializer


Field Summary
 
Fields inherited from class org.objectweb.cjdbc.driver.protocol.SQLDataSerialization.Serializer
typeTag
 
Constructor Summary
private SQLDataSerialization.DoubleSerializer()
           
 
Method Summary
 java.lang.Object receiveFromStream(CJDBCInputStream input)
          De-serialize an object from the stream Warning: the caller must ensure that Serializer subtype and the incoming object are compatible.
 void sendToStream(java.lang.Object obj, CJDBCOutputStream output)
          Serialize the object to the stream.
 
Methods inherited from class org.objectweb.cjdbc.driver.protocol.SQLDataSerialization.Serializer
getTypeTag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLDataSerialization.DoubleSerializer

private SQLDataSerialization.DoubleSerializer()
Method Detail

sendToStream

public void sendToStream(java.lang.Object obj,
                         CJDBCOutputStream output)
                  throws java.io.IOException
Description copied from class: SQLDataSerialization.Serializer
Serialize the object to the stream. Warning: the caller must ensure that Serializer subtype and Object subtype are compatible.

Specified by:
sendToStream in class SQLDataSerialization.Serializer
Parameters:
obj - object to send
output - Output stream
Throws:
java.io.IOException - stream error

receiveFromStream

public java.lang.Object receiveFromStream(CJDBCInputStream input)
                                   throws java.io.IOException
Description copied from class: SQLDataSerialization.Serializer
De-serialize an object from the stream Warning: the caller must ensure that Serializer subtype and the incoming object are compatible.

Specified by:
receiveFromStream in class SQLDataSerialization.Serializer
Parameters:
input - Input stream
Returns:
the object received from the stream
Throws:
java.io.IOException - stream error


Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.