getProvider().add(getName(), msg);
}
@Override
public void addBlacklistRules(final Collection<FunctionBlacklistRule> rules, final int timeToLive) {
final FudgeSerializer fsc = new FudgeSerializer(getProvider().getFudgeContext());
final MutableFudgeMsg msg = fsc.newMessage();
msg.add(DataManageableFunctionBlacklistResource.TTL_FIELD, null, FudgeWireType.LONG, timeToLive);
for (FunctionBlacklistRule rule : rules) {
fsc.addToMessage(msg, DataManageableFunctionBlacklistResource.RULE_FIELD, null, rule);
}
getProvider().add(getName(), msg);
}