public class ParameterSerializer extends Object implements AttributeSerializer<Parameter>, SerializerInjected
| Constructor and Description |
|---|
ParameterSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Parameter |
read(ScanBuffer buffer)
Reads an attribute from the given ReadBuffer.
|
void |
setSerializer(Serializer serializer) |
void |
write(WriteBuffer buffer,
Parameter attribute)
Writes the attribute value to the given WriteBuffer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvert, verifyAttributepublic Parameter read(ScanBuffer buffer)
AttributeSerializerIt is expected that this read operation adjusts the position in the ReadBuffer to after the attribute value.
read in interface AttributeSerializer<Parameter>buffer - ReadBuffer to read attribute frompublic void write(WriteBuffer buffer, Parameter attribute)
AttributeSerializerIt is expected that this write operation adjusts the position in the WriteBuffer to after the attribute value.
write in interface AttributeSerializer<Parameter>buffer - WriteBuffer to write attribute toattribute - Attribute to write to WriteBufferpublic void setSerializer(Serializer serializer)
setSerializer in interface SerializerInjectedCopyright © 2012–2023. All rights reserved.