Class PortNumberSerializer


  • public final class PortNumberSerializer
    extends com.esotericsoftware.kryo.Serializer<PortNumber>
    Serializer for PortNumber.
    • Constructor Detail

      • PortNumberSerializer

        public PortNumberSerializer()
        Creates PortNumber serializer instance.
    • Method Detail

      • write

        public void write​(com.esotericsoftware.kryo.Kryo kryo,
                          com.esotericsoftware.kryo.io.Output output,
                          PortNumber object)
        Specified by:
        write in class com.esotericsoftware.kryo.Serializer<PortNumber>
      • read

        public PortNumber read​(com.esotericsoftware.kryo.Kryo kryo,
                               com.esotericsoftware.kryo.io.Input input,
                               Class<PortNumber> type)
        Specified by:
        read in class com.esotericsoftware.kryo.Serializer<PortNumber>