Package org.onosproject.net.pi.runtime
Class PiHandle
- java.lang.Object
-
- org.onosproject.net.pi.runtime.PiHandle
-
- Direct Known Subclasses:
PiActionProfileGroupHandle,PiActionProfileMemberHandle,PiCounterCellHandle,PiMeterCellHandle,PiPreEntryHandle,PiTableEntryHandle
@Beta public abstract class PiHandle extends java.lang.ObjectGlobal identifier of a PI entity applied to a device, unique in the scope of the whole network.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description DeviceIddeviceId()Returns the device ID of this handle.abstract PiEntityTypeentityType()Returns the type of entity identified by this handle.abstract booleanequals(java.lang.Object obj)abstract inthashCode()abstract java.lang.StringtoString()
-
-
-
Constructor Detail
-
PiHandle
protected PiHandle(DeviceId deviceId)
-
-
Method Detail
-
deviceId
public final DeviceId deviceId()
Returns the device ID of this handle.- Returns:
- device ID
-
entityType
public abstract PiEntityType entityType()
Returns the type of entity identified by this handle.- Returns:
- PI entity type
-
hashCode
public abstract int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public abstract boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public abstract java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-