public class DefaultConnectionPointSerializer extends Object implements Serializer<DefaultConnectionPoint>
Constructor and Description |
---|
DefaultConnectionPointSerializer() |
Modifier and Type | Method and Description |
---|---|
DefaultConnectionPoint |
deserialize(byte[] serialization)
REstores an object from its serialization
|
static DefaultConnectionPoint |
deserialize(com.hp.sdn.model.proto.ConnectionPointProto.ConnectionPoint msg) |
byte[] |
serialize(DefaultConnectionPoint subject)
Serializes the subject.
|
static com.hp.sdn.model.proto.ConnectionPointProto.ConnectionPoint |
valueOf(ConnectionPoint subject) |
public byte[] serialize(DefaultConnectionPoint subject)
Serializer
serialize
in interface Serializer<DefaultConnectionPoint>
subject
- subject to serializesubject
public static com.hp.sdn.model.proto.ConnectionPointProto.ConnectionPoint valueOf(ConnectionPoint subject)
public DefaultConnectionPoint deserialize(byte[] serialization) throws IllegalArgumentException
Serializer
deserialize
in interface Serializer<DefaultConnectionPoint>
serialization
- serializationIllegalArgumentException
- error during deserializationpublic static DefaultConnectionPoint deserialize(com.hp.sdn.model.proto.ConnectionPointProto.ConnectionPoint msg)
Copyright © 2015. All Rights Reserved.