Class PortNumberSerializer
- java.lang.Object
-
- com.esotericsoftware.kryo.Serializer<PortNumber>
-
- org.onosproject.store.serializers.PortNumberSerializer
-
public final class PortNumberSerializer extends com.esotericsoftware.kryo.Serializer<PortNumber>
Serializer forPortNumber
.
-
-
Constructor Summary
Constructors Constructor Description PortNumberSerializer()
CreatesPortNumber
serializer instance.
-
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, Class<PortNumber> type)
void
write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, PortNumber object)
-
-
-
Constructor Detail
-
PortNumberSerializer
public PortNumberSerializer()
CreatesPortNumber
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 classcom.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 classcom.esotericsoftware.kryo.Serializer<PortNumber>
-
-