public final class MplsLabel extends Object implements LinkResource
| Constructor and Description |
|---|
MplsLabel(int mplsLabel)
Creates a new instance with given MPLS label.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
org.onlab.packet.MplsLabel |
label()
Returns MPLS Label as an MPLS Label Object.
|
String |
toString() |
static MplsLabel |
valueOf(int mplsLabel)
Creates a new instance with given MPLS label.
|
public MplsLabel(int mplsLabel)
mplsLabel - MPLS Label value to be assignedpublic static MplsLabel valueOf(int mplsLabel)
mplsLabel - mplsLabel value to be assignedMplsLabel instance with given bandwidthpublic org.onlab.packet.MplsLabel label()
Copyright © 2015. All rights reserved.