com.devexperts.qd.kit
Class PlainObjField

java.lang.Object
  extended by com.devexperts.qd.kit.AbstractDataField
      extended by com.devexperts.qd.kit.AbstractDataObjField
          extended by com.devexperts.qd.kit.PlainObjField
All Implemented Interfaces:
DataField, DataObjField

Deprecated. Use ByteArrayField with custom serialization whenever possible, or use MarshalledObjField that prevents unnecessary costly deserialization of objects in multiplexor nodes.

public class PlainObjField
extends AbstractDataObjField

The PlainObjField represents an object field with plain serialized form. It uses standard Java object serialization. Note that this serialization is highly ineffective and shall be substituted with more effective specialized version if possible.


Constructor Summary
PlainObjField(int index, java.lang.String name)
          Deprecated.  
 
Method Summary
 java.lang.Object readObj(com.devexperts.io.BufferedInput in)
          Deprecated. Reads field value from specified data input and returns it to the caller.
 java.lang.Object readObj(java.io.DataInput in)
          Deprecated. Reads field value from specified data input and returns it to the caller.
 void writeObj(com.devexperts.io.BufferedOutput out, java.lang.Object value)
          Deprecated. Writes specified field value into specified buffered output.
 void writeObj(java.io.DataOutput out, java.lang.Object value)
          Deprecated. Writes specified field value into specified data output.
 
Methods inherited from class com.devexperts.qd.kit.AbstractDataObjField
equals, parseString, toString
 
Methods inherited from class com.devexperts.qd.kit.AbstractDataField
getIndex, getLocalName, getName, getRecord, getSerialType, setRecord, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.devexperts.qd.DataField
getIndex, getLocalName, getName, getRecord, getSerialType
 

Constructor Detail

PlainObjField

public PlainObjField(int index,
                     java.lang.String name)
Deprecated. 
Method Detail

writeObj

public final void writeObj(java.io.DataOutput out,
                           java.lang.Object value)
                    throws java.io.IOException
Deprecated. 
Description copied from interface: DataObjField
Writes specified field value into specified data output.

Throws:
java.io.IOException - as specified data output does.

writeObj

public final void writeObj(com.devexperts.io.BufferedOutput out,
                           java.lang.Object value)
                    throws java.io.IOException
Deprecated. 
Description copied from interface: DataObjField
Writes specified field value into specified buffered output.

Throws:
java.io.IOException - as specified data output does.

readObj

public final java.lang.Object readObj(java.io.DataInput in)
                               throws java.io.IOException
Deprecated. 
Description copied from interface: DataObjField
Reads field value from specified data input and returns it to the caller.

Throws:
java.io.IOException - as specified data input does.

readObj

public final java.lang.Object readObj(com.devexperts.io.BufferedInput in)
                               throws java.io.IOException
Deprecated. 
Description copied from interface: DataObjField
Reads field value from specified data input and returns it to the caller.

Throws:
java.io.IOException - as specified data input does.