blob: 5deae69f1a14fc6f431f6719ca17a110dd28d61d [file] [log] [blame]
HIGUCHI Yuta36cf0762013-06-14 14:25:38 -07001/**
2 *
3 */
4package net.onrc.onos.ofcontroller.core;
5
6import org.openflow.protocol.OFPhysicalPort;
7
8import net.floodlightcontroller.core.IOFSwitchListener;
9
10/**
11 * @author y-higuchi
12 *
13 */
14public interface IOFSwitchPortListener extends IOFSwitchListener {
15
16 /**
17 * Fired when ports on a switch area added
18 */
19 public void switchPortAdded(Long switchId, OFPhysicalPort port);
20
21 /**
22 * Fired when ports on a switch area removed
23 */
24 public void switchPortRemoved(Long switchId, OFPhysicalPort port);
25
26}