modify OpenFlowSwitch.java