blob: 66a17a201aa3124990274592f586ed22d534461d [file] [log] [blame]
Jonathan Hart6261dcd2013-07-22 17:58:35 +12001package net.onrc.onos.ofcontroller.proxyarp;
2
Jonathan Hart4dfc3652013-08-02 20:22:36 +12003import java.net.InetAddress;
4
Jonathan Hartabad6a52013-09-30 18:17:21 +13005import net.floodlightcontroller.util.MACAddress;
6
7/**
8 * Callback interface for modules using the {@link IProxyArpService} to
9 * send ARP requests.
10 *
11 */
Jonathan Hart6261dcd2013-07-22 17:58:35 +120012public interface IArpRequester {
Jonathan Hartabad6a52013-09-30 18:17:21 +130013 /**
14 * Callback method that will be called by the {@link IProxyArpService}
15 * when it receives a reply for a request previously submitted by this
16 * {@code IArpRequester}.
17 * @param ipAddress The IP address than an ARP request was sent for
18 * @param macAddress The MAC address mapped to the requested IP address
19 */
20 public void arpResponse(InetAddress ipAddress, MACAddress macAddress);
Jonathan Hart6261dcd2013-07-22 17:58:35 +120021}