Cleanup RequestContextStack
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / device / RequestContext.java
index e9468807208bec86cf6a739301c392b535841c84..7ee42252470c7011d51999540ef359cacf928062 100644 (file)
@@ -8,10 +8,11 @@
 package org.opendaylight.openflowplugin.api.openflow.device;
 
 
+
 /**
  * Request context handles all requests on device. Number of requests is limited by request quota. When this quota is
  * exceeded all rpc's will end up with exception.
- * <p/>
+ * <p>
  * Created by Martin Bobak &lt;mbobak@cisco.com&gt; on 25.2.2015.
  */
 public interface RequestContext<T> extends RequestFutureContext<T>, AutoCloseable {
@@ -25,8 +26,6 @@ public interface RequestContext<T> extends RequestFutureContext<T>, AutoCloseabl
 
     /**
      * Sets xid generated for this request.
-     *
-     * @return
      */
     void setXid(Xid xid);
 
@@ -40,9 +39,9 @@ public interface RequestContext<T> extends RequestFutureContext<T>, AutoCloseabl
 
     /**
      * Sets request timeout value.
-     *
-     * @return
      */
     void setWaitTimeout(long waitTimeout);
 
+    @Override
+    void close();
 }