BUG-2218: Keep existing link augmentations during discovery process
[controller.git] / opendaylight / protocol_plugins / openflow / src / main / java / org / opendaylight / controller / protocol_plugin / openflow / IDataPacketListen.java
1
2 /*
3  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
4  *
5  * This program and the accompanying materials are made available under the
6  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  * and is available at http://www.eclipse.org/legal/epl-v10.html
8  */
9
10 /**
11  * @file   IDataPacketListen.java
12  *
13  * @brief  Interface to dispatch locally in the protocol plugin the
14  * data packets, intended especially for Discovery, main difference
15  * here with the analogous of SAL is that this is Global
16  * inherently
17  *
18  */
19 package org.opendaylight.controller.protocol_plugin.openflow;
20
21 import org.opendaylight.controller.sal.packet.RawPacket;
22 import org.opendaylight.controller.sal.packet.PacketResult;
23
24 /**
25  * Interface to dispatch locally in the protocol plugin the
26  * data packets, intended especially for Discovery, main difference
27  * here with the analogous of SAL is that this is Global
28  * inherently.
29  */
30 public interface IDataPacketListen {
31     /**
32      * Dispatch received data packet
33      *
34      * @param inPkt
35      *            The incoming raw packet
36      * @return Possible results for Data packet processing handler
37      */
38     public PacketResult receiveDataPacket(RawPacket inPkt);
39 }