net.ripe.rpki.commons.validation.roa
Class AnnouncedRoute

java.lang.Object
  extended by net.ripe.rpki.commons.validation.roa.AnnouncedRoute
All Implemented Interfaces:
Serializable

public final class AnnouncedRoute
extends Object
implements Serializable

A route announced on BGP.

See Also:
Serialized Form

Field Summary
static Comparator<AnnouncedRoute> ASN_PREFIX_COMPARATOR
           
 
Constructor Summary
AnnouncedRoute(net.ripe.ipresource.Asn originAsn, net.ripe.ipresource.IpRange prefix)
           
 
Method Summary
 boolean equals(Object obj)
           
 net.ripe.ipresource.Asn getOriginAsn()
           
 net.ripe.ipresource.IpRange getPrefix()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ASN_PREFIX_COMPARATOR

public static final Comparator<AnnouncedRoute> ASN_PREFIX_COMPARATOR
Constructor Detail

AnnouncedRoute

public AnnouncedRoute(net.ripe.ipresource.Asn originAsn,
                      net.ripe.ipresource.IpRange prefix)
Method Detail

getOriginAsn

public net.ripe.ipresource.Asn getOriginAsn()

getPrefix

public net.ripe.ipresource.IpRange getPrefix()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2012 RIPE NCC, the Netherlands. All Rights Reserved.