Class PortNumberSerializer


  • public final class PortNumberSerializer
    extends com.esotericsoftware.kryo.Serializer<PortNumber>
    Serializer for PortNumber.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      PortNumber read​(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, java.lang.Class<PortNumber> type)  
      void write​(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, PortNumber object)  
      • Methods inherited from class com.esotericsoftware.kryo.Serializer

        copy, getAcceptsNull, isImmutable, setAcceptsNull, setGenerics, setImmutable
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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,
                               java.lang.Class<PortNumber> type)
        Specified by:
        read in class com.esotericsoftware.kryo.Serializer<PortNumber>