private bool HandleSet(ParsedPacket packet) { AddSet(packet.BucketName, packet.Value); return true; }
private bool HandleTimer(ParsedPacket packet) { AddTimer(packet.BucketName, packet.Value, packet.SampleRate); return true; }
private bool HandleGauge(ParsedPacket packet) { if (packet.IsModifier) { // +/- adjusts the Gauge SetGauge(packet.BucketName, packet.Value); } else { // absolute set AddGauge(packet.BucketName, packet.Value); } return true; }