X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fprotocol_plugins%2Fopenflow_netty%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fprotocol_plugin%2Fopenflow%2Fcore%2Finternal%2FEnhancedSwitchHandler.java;fp=opendaylight%2Fprotocol_plugins%2Fopenflow_netty%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fprotocol_plugin%2Fopenflow%2Fcore%2Finternal%2FEnhancedSwitchHandler.java;h=91a2806d40d66e24c8495a6603232c64708fff92;hb=9f1c9e42abe1546fe352a9960935271f47f9a775;hp=b84b3ac8e1beae098682f02e64c554812499a80e;hpb=85073423c6069e4b58fffde7cf19c806b2b52dd5;p=controller.git diff --git a/opendaylight/protocol_plugins/openflow_netty/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/core/internal/EnhancedSwitchHandler.java b/opendaylight/protocol_plugins/openflow_netty/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/core/internal/EnhancedSwitchHandler.java index b84b3ac8e1..91a2806d40 100644 --- a/opendaylight/protocol_plugins/openflow_netty/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/core/internal/EnhancedSwitchHandler.java +++ b/opendaylight/protocol_plugins/openflow_netty/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/core/internal/EnhancedSwitchHandler.java @@ -22,6 +22,7 @@ import org.jboss.netty.channel.Channel; import org.jboss.netty.util.HashedWheelTimer; import org.jboss.netty.util.Timeout; import org.jboss.netty.util.TimerTask; +import org.opendaylight.controller.protocol_plugin.openflow.core.IEnhancedSwitch; import org.opendaylight.controller.protocol_plugin.openflow.core.ISwitch; import org.opendaylight.controller.protocol_plugin.openflow.core.internal.SwitchEvent.SwitchEventType; import org.openflow.protocol.OFBarrierReply; @@ -49,7 +50,7 @@ import org.openflow.protocol.factory.MessageParseException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class EnhancedSwitchHandler implements ISwitch { +public class EnhancedSwitchHandler implements IEnhancedSwitch { private static final Logger logger = LoggerFactory @@ -142,6 +143,9 @@ public class EnhancedSwitchHandler implements ISwitch { } + Integer getSwitchChannelID() { + return this.switchChannelID; + } public void startHandler(){ this.factory = new BasicFactory();