Class BGPKeepAliveMessageParser

java.lang.Object
org.opendaylight.protocol.bgp.parser.impl.message.BGPKeepAliveMessageParser
All Implemented Interfaces:
MessageParser, MessageSerializer

public final class BGPKeepAliveMessageParser extends Object implements MessageParser, MessageSerializer
  • Field Details Link icon

  • Constructor Details Link icon

    • BGPKeepAliveMessageParser Link icon

      public BGPKeepAliveMessageParser()
  • Method Details Link icon

    • parseMessageBody Link icon

      public Keepalive parseMessageBody(io.netty.buffer.ByteBuf body, int messageLength, PeerSpecificParserConstraint constraint) throws BGPDocumentedException
      Description copied from interface: MessageParser
      Parse BGP Message from buffer, potentially applying peer-specific constraints. Implementations are free
      Specified by:
      parseMessageBody in interface MessageParser
      Parameters:
      body - Encoded BGP message in ByteBuf.
      messageLength - Length of the BGP message.
      constraint - Peer specific constraints, implementations may ignore them.
      Returns:
      Parsed BGP Message body.
      Throws:
      BGPDocumentedException
    • serializeMessage Link icon

      public void serializeMessage(org.opendaylight.yangtools.binding.Notification<?> message, io.netty.buffer.ByteBuf bytes)
      Specified by:
      serializeMessage in interface MessageSerializer