Constructor and Description |
---|
PiCounterCell(PiCounterCellId cellId,
long packets,
long bytes)
Creates a new counter cell for the given cell identifier, number of
packets and bytes.
|
PiCounterCell(PiCounterCellId cellId,
PiCounterCellData piCounterCellData)
Creates a new counter cell for the given cell identifier and counter cell
data.
|
Modifier and Type | Method and Description |
---|---|
PiCounterCellId |
cellId()
Returns the cell identifier.
|
PiCounterCellData |
data()
Returns the data contained by this cell.
|
boolean |
equals(Object o) |
PiCounterCellHandle |
handle(DeviceId deviceId)
Returns a handle for this PI entity and the given device ID.
|
int |
hashCode() |
PiEntityType |
piEntityType()
Returns the type of this entity.
|
String |
toString() |
public PiCounterCell(PiCounterCellId cellId, PiCounterCellData piCounterCellData)
cellId
- counter cell identifierpiCounterCellData
- counter cell datapublic PiCounterCell(PiCounterCellId cellId, long packets, long bytes)
cellId
- counter cell identifierpackets
- number of packetsbytes
- number of bytespublic PiCounterCellId cellId()
public PiCounterCellData data()
public PiEntityType piEntityType()
PiEntity
piEntityType
in interface PiEntity
public PiCounterCellHandle handle(DeviceId deviceId)
PiEntity