* ============LICENSE_START=======================================================
* ONAP
* ================================================================================
- * Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2020-2021 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.function.BiConsumer;
+import lombok.AllArgsConstructor;
import org.onap.policy.common.utils.coder.StandardCoderObject;
import org.onap.policy.controlloop.actorserviceprovider.Util;
import org.slf4j.Logger;
* message. Each forwarder is associated with a single set of selector keys. Listeners are
* then registered with that forwarder for a particular set of values for the given keys.
*/
+@AllArgsConstructor
public class Forwarder {
private static final Logger logger = LoggerFactory.getLogger(Forwarder.class);
*/
private final List<SelectorKey> keys;
- /**
- * Constructs the object.
- *
- * @param keys keys used to extract the field's value from the
- * {@link StandardCoderObject}
- */
- public Forwarder(List<SelectorKey> keys) {
- this.keys = keys;
- }
-
/**
* Registers a listener for messages containing the given field values.
*