Jonathan Hart | 7804bea | 2014-01-07 10:50:52 -0800 | [diff] [blame] | 1 | package net.onrc.onos.ofcontroller.proxyarp; |
| 2 | |
| 3 | import java.io.Serializable; |
| 4 | |
| 5 | /** |
| 6 | * A PacketOutNotification contains data sent between ONOS instances that |
| 7 | * directs other instances to send a packet out a set of ports. |
| 8 | * This is an abstract base class that will be subclassed by specific |
| 9 | * types of notifications. |
| 10 | * |
| 11 | */ |
| 12 | public abstract class PacketOutNotification implements Serializable { |
| 13 | |
| 14 | private static final long serialVersionUID = 1L; |
| 15 | |
| 16 | protected final byte[] packet; |
| 17 | |
| 18 | public PacketOutNotification(byte[] packet) { |
| 19 | this.packet = packet; |
| 20 | } |
| 21 | } |