X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=openflowplugin-impl%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fopenflowplugin%2Fimpl%2Fservices%2FAbstractService.java;h=546e57119aa2c9e931f6467b8625cf505d3b42e4;hb=e79eecfecbf3e1b1abf28de1623c8ef55d6a3ff2;hp=73f098da9eb4241931cae4fc64709f503a85e0cc;hpb=65d688fc9091b05a4d83e596ce696974c933366d;p=openflowplugin.git diff --git a/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/services/AbstractService.java b/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/services/AbstractService.java index 73f098da9e..546e57119a 100644 --- a/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/services/AbstractService.java +++ b/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/services/AbstractService.java @@ -34,8 +34,6 @@ import org.slf4j.LoggerFactory; abstract class AbstractService { private static final Logger LOG = LoggerFactory.getLogger(AbstractService.class); - private static final long WAIT_TIME = 2000; - private static final BigInteger PRIMARY_CONNECTION = BigInteger.ZERO; private final short version; private final BigInteger datapathId; @@ -89,7 +87,7 @@ abstract class AbstractService { return messageSpy; } - protected abstract OfHeader buildRequest(Xid xid, I input) throws Exception; + protected abstract OfHeader buildRequest(Xid xid, I input) throws ServiceException; protected abstract FutureCallback createCallback(RequestContext context, Class requestType);