Class PiCloneSessionEntryHandle


  • @Beta
    public final class PiCloneSessionEntryHandle
    extends PiPreEntryHandle
    Global identifier of a PI clone session entry applied to the packet replication engine (PRE) of a device, uniquely defined by a device ID, and session ID.
    • Method Detail

      • of

        public static PiCloneSessionEntryHandle of​(DeviceId deviceId,
                                                   int sessionId)
        Creates a new handle for the given device ID and PI clone session ID.
        Parameters:
        deviceId - device ID
        sessionId - clone session ID
        Returns:
        PI clone session entry handle
      • of

        public static PiCloneSessionEntryHandle of​(DeviceId deviceId,
                                                   PiCloneSessionEntry entry)
        Creates a new handle for the given device ID and PI clone session entry.
        Parameters:
        deviceId - device ID
        entry - PI clone session entry
        Returns:
        PI clone session entry handle
      • sessionId

        public int sessionId()
        Returns the clone session ID associated with this handle.
        Returns:
        session ID