Class VectorHandler

All Implemented Interfaces:
SerializationHandler

public class VectorHandler extends AbstractSerializationHandler
A specfic serialization handler for Vector.
Author:
Laurent Cohen
  • Constructor Details

    • VectorHandler

      public VectorHandler()
  • Method Details

    • writeObject

      public void writeObject(Object obj, org.jppf.serialization.Serializer serializer, org.jppf.serialization.ClassDescriptor cd) throws Exception
      Description copied from interface: SerializationHandler
      Serialize an object of the type processed by this serialization handler.
      Parameters:
      obj - the object for which to write the fields.
      serializer - the serializer to use.
      cd - the class descriptor.
      Throws:
      Exception - if any error occurs.
    • readDObject

      public Object readDObject(org.jppf.serialization.Deserializer deserializer, org.jppf.serialization.ClassDescriptor cd) throws Exception
      Description copied from interface: SerializationHandler
      Deserialize an object of the type processed by this serialization handler.
      Parameters:
      deserializer - the deserializer to use.
      cd - the class descriptor.
      Returns:
      the deserialized object.
      Throws:
      Exception - if any error occurs.