Class 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 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 ID
        groupId - 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 ID
        entry - 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
      • equals

        public boolean equals​(java.lang.Object o)
        Specified by:
        equals in class PiHandle
      • toString

        public java.lang.String toString()
        Specified by:
        toString in class PiHandle