Skip to main content

poll_meter

Function poll_meter 

Source
pub fn poll_meter<L: DataLinkLayer>(
    session: &mut ClientSession<L>,
    registry: &mut MeterRegistry,
    meter_id: &[u8],
    attributes: &[AttributeRef],
) -> usize
Expand description

Polls attributes of a meter over its downstream session and stores the successfully read values in the registry’s aggregation cache. Returns the number of attributes read successfully.