@ThreadSafe public class ProtocolMetadata extends Object implements Writable
Modifier and Type | Class and Description |
---|---|
static class |
ProtocolMetadata.MetadataValue |
Constructor and Description |
---|
ProtocolMetadata() |
Modifier and Type | Method and Description |
---|---|
ProtocolMetadata.MetadataValue |
get(int index) |
void |
remove(int index) |
void |
setMeta(int index,
MetadataType type,
Object value) |
void |
setMeta(int index,
ProtocolMetadata.MetadataValue value) |
void |
write(ByteBuf buf)
Writes the data contained by the current implementation into serialized form in the provided
io.netty.buffer.ByteBuf |
public ProtocolMetadata()
public void setMeta(int index, ProtocolMetadata.MetadataValue value)
public void setMeta(int index, MetadataType type, Object value)
public ProtocolMetadata.MetadataValue get(int index)
public void remove(int index)
Copyright © 2016. All rights reserved.