public final class RouterId extends Object implements Comparable<RouterId>, org.opendaylight.yangtools.concepts.Immutable
Modifier and Type | Method and Description |
---|---|
int |
compareTo(RouterId o) |
boolean |
equals(Object obj) |
static RouterId |
forAddress(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address address)
Get a router ID in unsigned integer format from an Ipv4Address.
|
static RouterId |
forAddress(String address)
Get a router ID in unsigned integer format from an Ipv4Address.
|
static RouterId |
forPeerId(PeerId peerId) |
@NonNull PeerId |
getPeerId() |
int |
hashCode() |
String |
toString() |
public static RouterId forAddress(String address)
address
- Router ID as a dotted-quadpublic static RouterId forAddress(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address address)
address
- Router ID as an Ipv4Addresspublic @NonNull PeerId getPeerId()
public int compareTo(RouterId o)
compareTo
in interface Comparable<RouterId>
Copyright © 2020 OpenDaylight. All rights reserved.