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 boolean
equals(Object obj)
int
hashCode()
int
nshContextHeader()
Returns nsh context header value.static NshContextHeader
of(int nshContextHeader)
Returns the NshContextHeader by setting its value.String
toString()
-
-
-
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
-
-