public class BGPRoute extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ANY_ADDRESS |
| Constructor and Description |
|---|
BGPRoute(net.ripe.db.whois.common.rpsl.attrs.AddressPrefixRange routePrefixObject,
String nextHop) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
String |
getNextHopString()
Get the next hop of the route
|
net.ripe.db.whois.common.rpsl.attrs.AddressPrefixRange |
getPrefixRange()
Get the prefix range object of the route
|
String |
getRouteNetworkString()
Get the network address of the route
|
int |
getRoutePrefix()
Get the prefix length of the route
|
int |
hashCode() |
String |
toString() |
protected static final String ANY_ADDRESS
public BGPRoute(net.ripe.db.whois.common.rpsl.attrs.AddressPrefixRange routePrefixObject,
String nextHop)
public String getNextHopString()
public String getRouteNetworkString()
public int getRoutePrefix()
public net.ripe.db.whois.common.rpsl.attrs.AddressPrefixRange getPrefixRange()
Copyright © 2015. All rights reserved.