public class PCEPErrorMessageParser extends AbstractMessageParser
PcerrMessage
Modifier and Type | Field and Description |
---|---|
static int |
TYPE |
Constructor and Description |
---|
PCEPErrorMessageParser(ObjectRegistry registry) |
Modifier and Type | Method and Description |
---|---|
protected void |
serializeCases(PcerrMessage err,
io.netty.buffer.ByteBuf buffer)
If needed, subclasses can override this method.
|
void |
serializeMessage(Message message,
io.netty.buffer.ByteBuf out)
Serializes given message to bytes wrapped in given ByteBuf.
|
protected PcerrMessage |
validate(List<Object> objects,
List<Message> errors) |
addVendorInformationObjects, createErrorMsg, parseMessage, serializeObject, serializeVendorInformationObjects
public static final int TYPE
public PCEPErrorMessageParser(ObjectRegistry registry)
public void serializeMessage(Message message, io.netty.buffer.ByteBuf out)
MessageSerializer
message
- PCEP message to be serializedout
- ByteBuf wrapper around serialized messageprotected void serializeCases(PcerrMessage err, io.netty.buffer.ByteBuf buffer)
protected PcerrMessage validate(List<Object> objects, List<Message> errors) throws PCEPDeserializerException
validate
in class AbstractMessageParser
PCEPDeserializerException
Copyright © 2018 OpenDaylight. All rights reserved.