Package org.onosproject.net.pi.runtime
Class PiMulticastGroupEntryHandle
- java.lang.Object
 - 
- org.onosproject.net.pi.runtime.PiHandle
 - 
- org.onosproject.net.pi.runtime.PiPreEntryHandle
 - 
- org.onosproject.net.pi.runtime.PiMulticastGroupEntryHandle
 
 
 
 
- 
@Beta public final class PiMulticastGroupEntryHandle extends PiPreEntryHandle
Global identifier of a PI multicast group entry applied to the packet replication engine of a device, uniquely defined by a device ID, and group ID. 
- 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)intgroupId()Returns the multicast group ID associated with this handle.inthashCode()static PiMulticastGroupEntryHandleof(DeviceId deviceId, int groupId)Creates a new handle for the given device ID and PI multicast group ID.static PiMulticastGroupEntryHandleof(DeviceId deviceId, PiMulticastGroupEntry entry)Creates a new handle for the given device ID and PI multicast group entry.PiPreEntryTypepreEntryType()Returns the type of PRE entry associated with this handle.StringtoString()- 
Methods inherited from class org.onosproject.net.pi.runtime.PiPreEntryHandle
entityType 
 - 
 
 - 
 
- 
- 
Method Detail
- 
of
public static PiMulticastGroupEntryHandle of(DeviceId deviceId, int groupId)
Creates a new handle for the given device ID and PI multicast group ID.- Parameters:
 deviceId- device IDgroupId- multicast group ID- Returns:
 - PI multicast group entry handle
 
 
- 
of
public static PiMulticastGroupEntryHandle of(DeviceId deviceId, PiMulticastGroupEntry entry)
Creates a new handle for the given device ID and PI multicast group entry.- Parameters:
 deviceId- device IDentry- PI multicast group entry- Returns:
 - PI multicast group entry handle
 
 
- 
groupId
public int groupId()
Returns the multicast group ID associated with this handle.- Returns:
 - group ID
 
 
- 
preEntryType
public PiPreEntryType preEntryType()
Description copied from class:PiPreEntryHandleReturns the type of PRE entry associated with this handle.- Specified by:
 preEntryTypein classPiPreEntryHandle- Returns:
 - PRE entry type
 
 
 - 
 
 -