Class ExtensionInstructionSerializer


  • public class ExtensionInstructionSerializer
    extends com.esotericsoftware.kryo.Serializer<org.onosproject.net.flow.instructions.Instructions.ExtensionInstructionWrapper>
    Serializer for extension instructions.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.onosproject.net.flow.instructions.Instructions.ExtensionInstructionWrapper read​(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<org.onosproject.net.flow.instructions.Instructions.ExtensionInstructionWrapper> type)  
      void write​(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, org.onosproject.net.flow.instructions.Instructions.ExtensionInstructionWrapper object)  
      • Methods inherited from class com.esotericsoftware.kryo.Serializer

        copy, getAcceptsNull, isImmutable, setAcceptsNull, setGenerics, setImmutable
    • Constructor Detail

      • ExtensionInstructionSerializer

        public ExtensionInstructionSerializer()
        Constructs a extension instruction serializer.
    • Method Detail

      • write

        public void write​(com.esotericsoftware.kryo.Kryo kryo,
                          com.esotericsoftware.kryo.io.Output output,
                          org.onosproject.net.flow.instructions.Instructions.ExtensionInstructionWrapper object)
        Specified by:
        write in class com.esotericsoftware.kryo.Serializer<org.onosproject.net.flow.instructions.Instructions.ExtensionInstructionWrapper>
      • read

        public org.onosproject.net.flow.instructions.Instructions.ExtensionInstructionWrapper read​(com.esotericsoftware.kryo.Kryo kryo,
                                                                                                   com.esotericsoftware.kryo.io.Input input,
                                                                                                   Class<org.onosproject.net.flow.instructions.Instructions.ExtensionInstructionWrapper> type)
        Specified by:
        read in class com.esotericsoftware.kryo.Serializer<org.onosproject.net.flow.instructions.Instructions.ExtensionInstructionWrapper>