blob: 5830cfd431bce05ca50889afff9efe1098752c59 [file] [log] [blame]
Jonathan Hartc7ca35d2013-06-25 20:54:25 +12001package net.onrc.onos.ofcontroller.proxyarp;
2
3
4public class ArpTableEntry {
5
6 private byte[] macAddress;
7 private long timeLastSeen;
8
9 public ArpTableEntry(byte[] macAddress, long timeLastSeen) {
10 this.macAddress = macAddress;
11 this.timeLastSeen = timeLastSeen;
12 }
13
14 public byte[] getMacAddress() {
15 return macAddress;
16 }
17
18 public long getTimeLastSeen() {
19 return timeLastSeen;
20 }
21
22 public void setTimeLastSeen(long time){
23 //TODO thread safety issues?
24 timeLastSeen = time;
25 }
26
27}