public static interface BgpNotificationMsg.Builder extends BgpMessage.Builder
| Modifier and Type | Method and Description |
|---|---|
BgpNotificationMsg |
build()
Builds BGP Message.
|
BgpNotificationMsg.Builder |
setData(byte[] data)
Sets error data in notification message and return its builder.
|
BgpNotificationMsg.Builder |
setErrorCode(byte errorCode)
Sets errorCode in notification message and return its builder.
|
BgpNotificationMsg.Builder |
setErrorSubCode(byte errorSubCode)
Sets error subCode in notification message and return its builder.
|
setHeaderBgpNotificationMsg build() throws BgpParseException
BgpMessage.Builderbuild in interface BgpMessage.BuilderBgpParseException - while building bgp messageBgpNotificationMsg.Builder setErrorCode(byte errorCode)
errorCode - in notification messageBgpNotificationMsg.Builder setErrorSubCode(byte errorSubCode)
errorSubCode - in notification messageBgpNotificationMsg.Builder setData(byte[] data)
data - in notification messageCopyright © 2016. All rights reserved.