Class PiHeaderStack
- java.lang.Object
-
- org.onosproject.net.pi.runtime.data.PiHeaderStack
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.onosproject.net.pi.model.PiData
PiData.Type
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()List<PiHeader>headers()Return the list of header.static PiHeaderStackof(List<PiHeader> headers)Returns a new protocol-independent header stack.StringtoString()PiData.Typetype()Returns the type of this protocol-independent data.
-
-
-
Method Detail
-
of
public static PiHeaderStack of(List<PiHeader> headers)
Returns a new protocol-independent header stack.- Parameters:
headers- the list of header- Returns:
- header stack
-
type
public PiData.Type type()
Description copied from interface:PiDataReturns the type of this protocol-independent data.
-
-