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.Object
Global 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 DeviceId
deviceId()
Returns the device ID of this handle.abstract PiEntityType
entityType()
Returns the type of entity identified by this handle.abstract boolean
equals(java.lang.Object obj)
abstract int
hashCode()
abstract java.lang.String
toString()
-
-
-
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:
hashCode
in classjava.lang.Object
-
equals
public abstract boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public abstract java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-