Class DeviceIdSerializer


  • public final class DeviceIdSerializer
    extends com.esotericsoftware.kryo.Serializer<DeviceId>
    Kryo Serializer for DeviceId.
    • Constructor Detail

      • DeviceIdSerializer

        public DeviceIdSerializer()
        Creates DeviceId serializer instance.
    • Method Detail

      • write

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

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