Class SerializableTask

    • Constructor Detail

      • SerializableTask

        public SerializableTask()
    • Method Detail

      • write

        public abstract void write​(java.io.DataOutputStream out)
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • read

        public abstract void read​(java.io.DataInputStream in)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • serialize

        public final void serialize​(java.io.DataOutputStream out)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • deserialize

        public static SerializableTask deserialize​(java.io.DataInputStream in)
                                            throws java.lang.Exception
        Throws:
        java.lang.Exception