public class FieldTable extends Object implements EncodableData
field-table = long-uint *field-value-pair.
| Modifier and Type | Field and Description |
|---|---|
static FieldTable |
EMPTY_TABLE |
| Constructor and Description |
|---|
FieldTable() |
FieldTable(Map<ShortString,FieldValue> properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(ShortString propertyName,
FieldValue value) |
boolean |
equals(Object obj) |
long |
getSize() |
FieldValue |
getValue(ShortString propertyName) |
int |
hashCode() |
static FieldTable |
parse(io.netty.buffer.ByteBuf buf) |
void |
write(io.netty.buffer.ByteBuf buf) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waittoStringpublic static final FieldTable EMPTY_TABLE
public FieldTable(Map<ShortString,FieldValue> properties)
public FieldTable()
public long getSize()
getSize in interface EncodableDatapublic void write(io.netty.buffer.ByteBuf buf)
write in interface EncodableDatapublic void add(ShortString propertyName, FieldValue value)
public static FieldTable parse(io.netty.buffer.ByteBuf buf) throws Exception
Exceptionpublic FieldValue getValue(ShortString propertyName)
Copyright © 2018 WSO2. All rights reserved.