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 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(Object obj)
abstract int
hashCode()
abstract 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
-
-