public class DomainId extends Identifier<java.lang.String>
Modifier and Type | Field and Description |
---|---|
static DomainId |
LOCAL
Represents the domain directly managed by ONOS.
|
identifier
Constructor and Description |
---|
DomainId(java.lang.String identifier)
Constructor of the peer id.
|
Modifier and Type | Method and Description |
---|---|
static DomainId |
domainId(java.lang.String identifier)
Creates a peer id from the string identifier.
|
equals, hashCode, id, toString
public static final DomainId LOCAL
public DomainId(java.lang.String identifier)
identifier
- of the peerpublic static DomainId domainId(java.lang.String identifier)
identifier
- string identifier