Package org.onosproject.net
Class NshContextHeader
- java.lang.Object
-
- org.onosproject.net.NshContextHeader
-
public final class NshContextHeader extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)inthashCode()intnshContextHeader()Returns nsh context header value.static NshContextHeaderof(int nshContextHeader)Returns the NshContextHeader by setting its value.StringtoString()
-
-
-
Method Detail
-
of
public static NshContextHeader of(int nshContextHeader)
Returns the NshContextHeader by setting its value.- Parameters:
nshContextHeader- nsh context header value.- Returns:
- NshContextHeader
-
nshContextHeader
public int nshContextHeader()
Returns nsh context header value.- Returns:
- the nsh context header
-
-