2 * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
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
8 package org.opendaylight.openflowplugin.api.openflow.device;
12 * @param <I> input message
13 * @param <O> output message
16 public interface MessageTranslator<I, O> {
19 * Translates from input to output
22 * @param connectionDistinguisher
23 * @return message of output type
25 O translate(I input, DeviceState deviceState, Object connectionDistinguisher);