3 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
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
11 * @file IDataPacketListen.java
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
19 package org.opendaylight.controller.protocol_plugin.openflow;
21 import org.opendaylight.controller.sal.packet.RawPacket;
22 import org.opendaylight.controller.sal.packet.PacketResult;
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
30 public interface IDataPacketListen {
32 * Dispatch received data packet
35 * The incoming raw packet
36 * @return Possible results for Data packet processing handler
38 public PacketResult receiveDataPacket(RawPacket inPkt);