HIGUCHI Yuta | 36cf076 | 2013-06-14 14:25:38 -0700 | [diff] [blame] | 1 | /** |
| 2 | * |
| 3 | */ |
| 4 | package net.onrc.onos.ofcontroller.core; |
| 5 | |
| 6 | import org.openflow.protocol.OFPhysicalPort; |
| 7 | |
| 8 | import net.floodlightcontroller.core.IOFSwitchListener; |
| 9 | |
| 10 | /** |
| 11 | * @author y-higuchi |
| 12 | * |
| 13 | */ |
| 14 | public 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 | } |