Package org.onosproject.net
Class NshServicePathId
- java.lang.Object
-
- org.onlab.util.Identifier<java.lang.Integer>
-
- org.onosproject.net.NshServicePathId
-
public final class NshServicePathId extends Identifier<java.lang.Integer>
-
-
Field Summary
-
Fields inherited from class org.onlab.util.Identifier
identifier
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NshServicePathIdof(int servicePathId)Returns the NshServicePathId by setting its value.intservicePathId()Returns nsh context service path identifier.-
Methods inherited from class org.onlab.util.Identifier
equals, hashCode, id, toString
-
-
-
-
Method Detail
-
of
public static NshServicePathId of(int servicePathId)
Returns the NshServicePathId by setting its value.- Parameters:
servicePathId- nsh service path identifier- Returns:
- NshServicePathId
-
servicePathId
public int servicePathId()
Returns nsh context service path identifier.- Returns:
- the nsh context service path id
-
-