fix topology and packetIn processing
[openflowplugin.git] / openflowplugin-impl / src / main / java / org / opendaylight / openflowplugin / impl / services / CommonService.java
index 9b4be91a888ca0cd0d5c7ad172ec5530ef8dc8c2..c0f651ce7b236e5dbaa0c6e663a53533693e256e 100644 (file)
@@ -11,6 +11,8 @@ import com.google.common.base.Function;
 import com.google.common.util.concurrent.Futures;
 import com.google.common.util.concurrent.ListenableFuture;
 import com.google.common.util.concurrent.SettableFuture;
+import java.math.BigInteger;
+import java.util.concurrent.Future;
 import org.opendaylight.openflowjava.protocol.api.connection.ConnectionAdapter;
 import org.opendaylight.openflowplugin.api.openflow.connection.ConnectionContext;
 import org.opendaylight.openflowplugin.api.openflow.device.DeviceContext;
@@ -21,8 +23,6 @@ import org.opendaylight.yangtools.yang.common.RpcError.ErrorType;
 import org.opendaylight.yangtools.yang.common.RpcResult;
 import org.opendaylight.yangtools.yang.common.RpcResultBuilder;
 import org.slf4j.Logger;
-import java.math.BigInteger;
-import java.util.concurrent.Future;
 
 public abstract class CommonService {
     private static final Logger LOG = org.slf4j.LoggerFactory.getLogger(CommonService.class);
@@ -38,6 +38,10 @@ public abstract class CommonService {
     public DeviceContext deviceContext;
     public ConnectionAdapter primaryConnectionAdapter;
 
+    /**
+     * @deprecated use {@link #CommonService(RequestContextStack, DeviceContext)}
+     */
+    @Deprecated
     public CommonService() {
     }