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