Package org.onosproject.net.pi.runtime
Class PiMulticastGroupEntry
- java.lang.Object
-
- org.onosproject.net.pi.runtime.PiMulticastGroupEntry
-
- All Implemented Interfaces:
PiEntity,PiPreEntry
@Beta public final class PiMulticastGroupEntry extends Object implements PiPreEntry
Representation of multicast group entry of a protocol-independent packet replication engine (PRE).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPiMulticastGroupEntry.BuilderBuilder of PI multicast group entries.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PiMulticastGroupEntry.Builderbuilder()Returns a new builder of multicast group entries.booleanequals(Object obj)intgroupId()Returns the identifier of this multicast group, unique in the scope of a PRE instance.PiMulticastGroupEntryHandlehandle(DeviceId deviceId)Returns a handle for this PI entity and the given device ID.inthashCode()PiEntityTypepiEntityType()Returns the type of this entity.PiPreEntryTypepreEntryType()Returns the type of this PRE entry.Set<PiPreReplica>replicas()Returns the packet replicas provided by this multicast group.StringtoString()
-
-
-
Method Detail
-
groupId
public int groupId()
Returns the identifier of this multicast group, unique in the scope of a PRE instance.- Returns:
- group entry ID
-
replicas
public Set<PiPreReplica> replicas()
Returns the packet replicas provided by this multicast group.- Returns:
- packet replicas
-
preEntryType
public PiPreEntryType preEntryType()
Description copied from interface:PiPreEntryReturns the type of this PRE entry.- Specified by:
preEntryTypein interfacePiPreEntry- Returns:
- PRE entry type
-
piEntityType
public PiEntityType piEntityType()
Description copied from interface:PiEntityReturns the type of this entity.- Specified by:
piEntityTypein interfacePiEntity- Returns:
- entity type
-
handle
public PiMulticastGroupEntryHandle handle(DeviceId deviceId)
Description copied from interface:PiEntityReturns a handle for this PI entity and the given device ID.
-
builder
public static PiMulticastGroupEntry.Builder builder()
Returns a new builder of multicast group entries.- Returns:
- builder
-
-