blob: 4ffdd6fdb7703c6d35ac40ac985d907cf7274614 [file] [log] [blame]
tom613d8142014-09-11 15:09:37 -07001package org.onlab.onos.net.packet;
2
alshabib369d2942014-09-12 17:59:35 -07003import org.onlab.onos.net.provider.Provider;
4
tom613d8142014-09-11 15:09:37 -07005/**
6 * Abstraction of a packet provider capable of emitting packets.
7 */
alshabib01ca3542014-09-12 18:20:33 -07008public interface PacketProvider extends Provider {
tom613d8142014-09-11 15:09:37 -07009
10 /**
11 * Emits the specified outbound packet onto the network.
12 *
13 * @param packet outbound packet
14 */
15 void emit(OutboundPacket packet);
16
17}