Remove Ipv{4,6}Address-based splitToParts() methods
[openflowplugin.git] / openflowplugin / src / main / java / org / opendaylight / openflowplugin / openflow / md / core / sal / convertor / common / ResultInjector.java
1 /**
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.openflowplugin.openflow.md.core.sal.convertor.common;
10
11 /**
12  * Injecting match object into chosen target.
13  *
14  * @param <R> result to inject (e.g.: OF-API match)
15  * @param <T> target of injection
16  */
17 public interface ResultInjector<R, T> {
18
19     /**
20      * Inject result into target.
21      *
22      * @param result result
23      * @param target target
24      */
25     void inject(R result, T target);
26 }