public class SimpleFlowspecTypeRegistry extends Object
| Constructor and Description |
|---|
SimpleFlowspecTypeRegistry() |
| Modifier and Type | Method and Description |
|---|---|
FlowspecTypeParser |
getFlowspecTypeParser(short type) |
FlowspecTypeSerializer |
getFlowspecTypeSerializer(FlowspecType fsType) |
FlowspecType |
parseFlowspecType(io.netty.buffer.ByteBuf buffer) |
AutoCloseable |
registerFlowspecTypeParser(int type,
FlowspecTypeParser parser) |
AutoCloseable |
registerFlowspecTypeSerializer(Class<? extends FlowspecType> typeClass,
FlowspecTypeSerializer serializer) |
void |
serializeFlowspecType(FlowspecType fsType,
io.netty.buffer.ByteBuf output) |
public FlowspecTypeParser getFlowspecTypeParser(short type)
public FlowspecTypeSerializer getFlowspecTypeSerializer(FlowspecType fsType)
public void serializeFlowspecType(FlowspecType fsType, io.netty.buffer.ByteBuf output)
public FlowspecType parseFlowspecType(io.netty.buffer.ByteBuf buffer)
public AutoCloseable registerFlowspecTypeParser(int type, FlowspecTypeParser parser)
public AutoCloseable registerFlowspecTypeSerializer(Class<? extends FlowspecType> typeClass, FlowspecTypeSerializer serializer)
Copyright © 2017 OpenDaylight. All rights reserved.