public class MRTRecord extends Object
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
record |
protected int |
subtype |
protected long |
time |
protected int |
type |
| Modifier | Constructor and Description |
|---|---|
|
MRTRecord() |
protected |
MRTRecord(byte[] header) |
| Modifier and Type | Method and Description |
|---|---|
ASPath |
getASPath() |
InetAddress |
getPeer() |
AS |
getPeerAS() |
Prefix |
getPrefix() |
long |
getSubType() |
long |
getTime() |
int |
getType() |
boolean |
hasAsPathPrepend() |
void |
setGeneric(byte[] header,
byte[] record) |
void |
setHeaderData(byte[] header) |
Advertisement |
toAdvertisement() |
String |
toString() |
TableDump |
toTableDump() |
Withdraw |
toWithdraw() |
protected byte[] record
protected int type
protected int subtype
protected long time
public void setGeneric(byte[] header,
byte[] record)
public void setHeaderData(byte[] header)
public long getTime()
public int getType()
public long getSubType()
public boolean hasAsPathPrepend()
public Prefix getPrefix()
public InetAddress getPeer()
public ASPath getASPath()
public AS getPeerAS()
public TableDump toTableDump()
public Advertisement toAdvertisement()
public Withdraw toWithdraw()
Copyright © 2025. All rights reserved.