blob: bd64e59c6c5c98fa2dbc05f7e7307851bad2a21a [file] [log] [blame]
package net.onrc.onos.apps.proxyarp;
import java.io.Serializable;
/**
* A PacketOutNotification contains data sent between ONOS instances that
* directs other instances to send a packet out a set of ports. This is an
* abstract base class that will be subclassed by specific types of
* notifications.
*/
public abstract class PacketOutNotification implements Serializable{
private static final long serialVersionUID = 1L;
protected final byte[] packet;
/**
* Class constructor.
* @param packet the packet data to send in the packet-out
*/
public PacketOutNotification() {
packet = null;
}
public PacketOutNotification(byte[] packet) {
this.packet = packet;
}
}