2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.controller.hosttracker;
11 import org.opendaylight.controller.hosttracker.hostAware.HostNodeConnector;
14 * This Interface defines the methods for client applications of Host Tracker to
15 * get notifications when a new host is learned or existing host is removed from
19 public interface IfNewHostNotify {
21 * Notifies the HostTracker Clients that a new Host has been learned
24 * Host Info encapsulated in HostNodeConnector class
26 public void notifyHTClient(HostNodeConnector host);
29 * Notifies the HostTracker Clients that a Host which was learned in the
30 * past has been removed either due to switch/port down event or due to ARP
34 * Host Info encapsulated in HostNodeConnector class
36 public void notifyHTClientHostRemoved(HostNodeConnector host);