public class SimpleBmpMessageRegistry extends Object implements BmpMessageRegistry
| Constructor and Description |
|---|
SimpleBmpMessageRegistry() |
| Modifier and Type | Method and Description |
|---|---|
org.opendaylight.yangtools.yang.binding.Notification |
parseMessage(io.netty.buffer.ByteBuf buffer) |
AutoCloseable |
registerBmpMessageParser(int messageType,
BmpMessageParser parser) |
AutoCloseable |
registerBmpMessageSerializer(Class<? extends org.opendaylight.yangtools.yang.binding.Notification> msgClass,
BmpMessageSerializer serializer) |
void |
serializeMessage(org.opendaylight.yangtools.yang.binding.Notification message,
io.netty.buffer.ByteBuf buffer) |
public AutoCloseable registerBmpMessageParser(int messageType, BmpMessageParser parser)
registerBmpMessageParser in interface BmpMessageRegistratorpublic AutoCloseable registerBmpMessageSerializer(Class<? extends org.opendaylight.yangtools.yang.binding.Notification> msgClass, BmpMessageSerializer serializer)
registerBmpMessageSerializer in interface BmpMessageRegistratorpublic org.opendaylight.yangtools.yang.binding.Notification parseMessage(io.netty.buffer.ByteBuf buffer)
throws BmpDeserializationException
parseMessage in interface BmpMessageParserBmpDeserializationExceptionpublic void serializeMessage(org.opendaylight.yangtools.yang.binding.Notification message,
io.netty.buffer.ByteBuf buffer)
serializeMessage in interface BmpMessageSerializerCopyright © 2019 OpenDaylight. All rights reserved.