Bump MRI upstreams
[openflowplugin.git] / openflowjava / openflow-protocol-impl / src / main / java / org / opendaylight / openflowjava / protocol / impl / core / connection / MessageConsumer.java
1 /*
2  * Copyright (c) 2013 Pantheon Technologies s.r.o. 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
10 package org.opendaylight.openflowjava.protocol.impl.core.connection;
11
12 import org.opendaylight.yangtools.yang.binding.DataObject;
13
14 /**
15  * Interface for a message consumer.
16  *
17  * @author mirehak
18  */
19 public interface MessageConsumer {
20
21     /**
22      * Invoked to consume a message.
23      *
24      * @param message to process
25      */
26     void consume(DataObject message);
27
28 }