Package org.onosproject.net.pi.runtime
Class PiGroupKey
- java.lang.Object
-
- org.onosproject.net.pi.runtime.PiGroupKey
-
-
Constructor Summary
Constructors Constructor Description PiGroupKey(PiTableId tableId, PiActionProfileId piActionProfileId, int groupId)Returns a new group key for the given table ID, action profile ID, and group ID.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PiActionProfileIdactionProfileId()Returns the action profile ID defined by this key.booleanequals(Object o)intgroupId()Returns the group ID defined by this key.inthashCode()byte[]key()Returns the byte representation of key.PiTableIdtableId()Returns the table ID defined by this key.StringtoString()
-
-
-
Constructor Detail
-
PiGroupKey
public PiGroupKey(PiTableId tableId, PiActionProfileId piActionProfileId, int groupId)
Returns a new group key for the given table ID, action profile ID, and group ID.- Parameters:
tableId- table IDpiActionProfileId- action profile IDgroupId- group ID
-
-
Method Detail
-
tableId
public PiTableId tableId()
Returns the table ID defined by this key.- Returns:
- table ID
-
groupId
public int groupId()
Returns the group ID defined by this key.- Returns:
- group ID
-
actionProfileId
public PiActionProfileId actionProfileId()
Returns the action profile ID defined by this key.- Returns:
- action profile ID
-
key
public byte[] key()
Description copied from interface:GroupKeyReturns the byte representation of key.
-
-