public final class PcepDpid extends Object
| Constructor and Description |
|---|
PcepDpid()
Default constructor.
|
PcepDpid(long value)
Constructor from a long value.
|
PcepDpid(String value)
Constructor from a String.
|
| Modifier and Type | Method and Description |
|---|---|
static long |
toLong(String value)
Produces device long from the given string which comes from the uri
method.
|
static URI |
uri(long value)
Produces device URI from the given DPID long.
|
static URI |
uri(PcepDpid dpid)
Produces device URI from the given DPID.
|
long |
value()
Return a device id with the form of long.
|
public PcepDpid()
public PcepDpid(long value)
value - long value for constructpublic PcepDpid(String value)
value - string value for constructpublic static URI uri(PcepDpid dpid)
dpid - device dpidpublic static long toLong(String value)
value - string value which produced by uri method.public static URI uri(long value)
value - device dpid as longpublic long value()