public Map<String, Object> process(Map<String, Object> record) {
SNMPVariablePair[] vars = new SNMPVariablePair[varBindDefs.length];
try {
for (int i = 0; i < vars.length; i++) {
TrapVarBindDef vbd = varBindDefs[i];
SNMPObjectIdentifier oid = new SNMPObjectIdentifier(oprefix + "." + vbd.getOidSuffix());
SNMPObject val = SnmpLib.val(vbd.getSnmpDataType(), record.get(vbd.getSourceField()));
val = val != null ? val : new SNMPNull();
vars[i] = new SNMPVariablePair(oid, val);
}
trapper.trap(gtrap, strap, oid, vars);
} catch (SNMPBadValueException e) {