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 SummaryAll 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.PiPreEntryHandleentityType
 
- 
 
- 
- 
- 
Method Detail- 
ofpublic static PiMulticastGroupEntryHandle of(DeviceId deviceId, int groupId) Creates a new handle for the given device ID and PI multicast group ID.- Parameters:
- deviceId- device ID
- groupId- multicast group ID
- Returns:
- PI multicast group entry handle
 
 - 
ofpublic static PiMulticastGroupEntryHandle of(DeviceId deviceId, PiMulticastGroupEntry entry) Creates a new handle for the given device ID and PI multicast group entry.- Parameters:
- deviceId- device ID
- entry- PI multicast group entry
- Returns:
- PI multicast group entry handle
 
 - 
groupIdpublic int groupId() Returns the multicast group ID associated with this handle.- Returns:
- group ID
 
 - 
preEntryTypepublic PiPreEntryType preEntryType() Description copied from class:PiPreEntryHandleReturns the type of PRE entry associated with this handle.- Specified by:
- preEntryTypein class- PiPreEntryHandle
- Returns:
- PRE entry type
 
 
- 
 
-