blob: 1919d87b0f1eba4b19efaff7cbdfbe1ca00c2b27 [file] [log] [blame]
Jonathan Hart7804bea2014-01-07 10:50:52 -08001package net.onrc.onos.ofcontroller.proxyarp;
2
3/**
4 * Notification to another ONOS instance to send a packet out a single port.
5 *
6 */
7public class SinglePacketOutNotification extends PacketOutNotification {
8
9 private static final long serialVersionUID = 1L;
10
11 private final long outSwitch;
12 private final short outPort;
13
14 public SinglePacketOutNotification(byte[] packet, long outSwitch,
15 short outPort) {
16 super(packet);
17
18 this.outSwitch = outSwitch;
19 this.outPort = outPort;
20 }
21
22 public long getOutSwitch() {
23 return outSwitch;
24 }
25
26 public short getOutPort() {
27 return outPort;
28 }
29
30}