Class MacAddressSerializer
- java.lang.Object
-
- com.esotericsoftware.kryo.Serializer<MacAddress>
-
- org.onosproject.store.serializers.MacAddressSerializer
-
public class MacAddressSerializer extends com.esotericsoftware.kryo.Serializer<MacAddress>
Kryo Serializer forMacAddress
.
-
-
Constructor Summary
Constructors Constructor Description MacAddressSerializer()
CreatesMacAddress
serializer instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MacAddress
read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, java.lang.Class<MacAddress> type)
void
write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, MacAddress object)
-
-
-
Constructor Detail
-
MacAddressSerializer
public MacAddressSerializer()
CreatesMacAddress
serializer instance.
-
-
Method Detail
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, MacAddress object)
- Specified by:
write
in classcom.esotericsoftware.kryo.Serializer<MacAddress>
-
read
public MacAddress read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, java.lang.Class<MacAddress> type)
- Specified by:
read
in classcom.esotericsoftware.kryo.Serializer<MacAddress>
-
-