public class Advertisement extends Bgp4Update
peerAS, peerIP, prefix, updateAttr, updateStr, updateType| Constructor and Description |
|---|
Advertisement(byte[] header,
InetAddress peerIP,
AS peerAS,
Prefix prefix,
Attributes updateAttr) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCommunity() |
long |
getMed() |
boolean |
isIPv4() |
boolean |
isIPv6() |
Advertisement |
toAdvertisement()
overrides
Bgp4Update.toAdvertisement() |
compare, compareTo, equals, equals, getASPath, getAttributes, getPeer, getPeerAS, getPrefix, hasAsPathPrepend, toString, toWithdrawgetSubType, getTime, getType, setGeneric, setHeaderData, toTableDumpclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic Advertisement(byte[] header,
InetAddress peerIP,
AS peerAS,
Prefix prefix,
Attributes updateAttr)
public boolean isIPv4()
isIPv4 in class Bgp4Updatepublic boolean isIPv6()
isIPv6 in class Bgp4Updatepublic String getCommunity()
public long getMed()
public Advertisement toAdvertisement()
Bgp4Update.toAdvertisement()toAdvertisement in class Bgp4UpdateMRTRecord.toAdvertisement(),
toAdvertisement()Copyright © 2025. All rights reserved.