tom | 613d814 | 2014-09-11 15:09:37 -0700 | [diff] [blame] | 1 | package org.onlab.onos.net.packet; |
| 2 | |
alshabib | 369d294 | 2014-09-12 17:59:35 -0700 | [diff] [blame] | 3 | import org.onlab.onos.net.provider.Provider; |
| 4 | |
tom | 613d814 | 2014-09-11 15:09:37 -0700 | [diff] [blame] | 5 | /** |
| 6 | * Abstraction of a packet provider capable of emitting packets. |
| 7 | */ |
alshabib | 01ca354 | 2014-09-12 18:20:33 -0700 | [diff] [blame] | 8 | public interface PacketProvider extends Provider { |
tom | 613d814 | 2014-09-11 15:09:37 -0700 | [diff] [blame] | 9 | |
| 10 | /** |
| 11 | * Emits the specified outbound packet onto the network. |
| 12 | * |
| 13 | * @param packet outbound packet |
| 14 | */ |
| 15 | void emit(OutboundPacket packet); |
| 16 | |
| 17 | } |