Fix checkstyle warnings 50/52650/2
authorJozef Bacigal <jozef.bacigal@pantheon.tech>
Thu, 2 Mar 2017 13:17:58 +0000 (14:17 +0100)
committerJozef Bacigal <jozef.bacigal@pantheon.tech>
Tue, 14 Mar 2017 13:25:29 +0000 (14:25 +0100)
- org.opendylight.openflowplugin.api.openflow.device

Change-Id: I775fd56bee4a1d80b2c2ace37f32836c993c5b97
Signed-off-by: Jozef Bacigal <jozef.bacigal@pantheon.tech>
25 files changed:
openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/device/DeviceContext.java
openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/device/DeviceInfo.java
openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/device/DeviceManager.java
openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/device/DeviceRegistry.java
openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/device/DeviceState.java
openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/device/MessageTranslator.java
openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/device/RequestContext.java
openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/device/RequestContextStack.java
openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/device/RequestFutureContext.java
openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/device/TranslatorLibrary.java
openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/device/TxFacade.java
openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/device/Xid.java
openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/device/XidSequencer.java
openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/device/exception/RequestQuotaExceededException.java
openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/device/handlers/ClusterInitializationPhaseHandler.java
openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/device/handlers/ClusterLifecycleSupervisor.java
openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/device/handlers/DeviceConnectedHandler.java
openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/device/handlers/DeviceDisconnectedHandler.java
openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/device/handlers/DeviceInitializationPhaseHandler.java
openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/device/handlers/DeviceLifecycleSupervisor.java
openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/device/handlers/DeviceRemovedHandler.java
openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/device/handlers/DeviceReplyProcessor.java
openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/device/handlers/DeviceTerminationPhaseHandler.java
openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/device/handlers/MultiMsgCollector.java
openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/device/listener/OpenflowMessageListenerFacade.java

index 2cab358cef6031e4095e812d5a126800b6f030b4..f4b7299891bb1966f5e02045fc98f32a8043e246 100644 (file)
@@ -45,7 +45,7 @@ public interface DeviceContext extends
         DeviceReplyProcessor,
         TxFacade,
         DeviceRegistry,
-        RequestContextStack{
+        RequestContextStack {
 
     /**
      * Method close all auxiliary connections and primary connection.
@@ -72,33 +72,37 @@ public interface DeviceContext extends
     DeviceState getDeviceState();
 
     /**
-     * Method has to close TxManager ASAP we are notified about Closed Connection
+     * Method has to close TxManager ASAP we are notified about Closed Connection.
      * @return sync. future for Slave and MD-SAL completition for Master
      */
     ListenableFuture<Void> shuttingDownDataStoreTransactions();
 
     /**
+     * Getter.
      * @return current devices connection context
      */
     ConnectionContext getPrimaryConnectionContext();
 
     /**
+     * Getter.
      * @return current devices auxiliary connection contexts
      */
     ConnectionContext getAuxiliaryConnectionContexts(BigInteger cookie);
 
 
     /**
+     * Getter.
      * @return translator library
      */
     TranslatorLibrary oook();
 
     /**
-     * store cancellable timeout handler of currently running barrier task
+     * store cancellable timeout handler of currently running barrier task.
      */
     void setCurrentBarrierTimeout(Timeout timeout);
 
     /**
+     * Getter.
      * @return cancellable timeout handle of currently running barrier task
      */
     Timeout getBarrierTaskTimeout();
@@ -110,18 +114,18 @@ public interface DeviceContext extends
     <T extends OfHeader> MultiMsgCollector<T> getMultiMsgCollector(final RequestContext<List<T>> requestContext);
 
     /**
-     * indicates that device context is fully published (e.g.: packetIn messages should be passed)
+     * indicates that device context is fully published (e.g.: packetIn messages should be passed).
      */
     void onPublished();
 
     /**
-     * change packetIn rate limiter borders
-     *
+     * change packetIn rate limiter borders.
      * @param upperBound max amount of outstanding packetIns
      */
     void updatePacketInRateLimit(long upperBound);
 
     /**
+     * Getter.
      * @return registry point for item life cycle sources of device
      */
     ItemLifeCycleRegistry getItemLifeCycleSourceRegistry();
@@ -135,13 +139,13 @@ public interface DeviceContext extends
     boolean isSkipTableFeatures();
 
     /**
-     * Setter for sal role service
-     * @param salRoleService
+     * Setter for sal role service.
+     * @param salRoleService Role Service
      */
     void setSalRoleService(@Nonnull final SalRoleService salRoleService);
 
     /**
-     * Make device slave
+     * Make device slave.
      * @return listenable future from sal role service
      */
     ListenableFuture<RpcResult<SetRoleOutput>> makeDeviceSlave();
index 4af09607a3ff22a8d005d50a8e8d712ff81b3c9d..c7c64047a864762598be1f01b493d58af7eb7ce9 100644 (file)
@@ -16,37 +16,42 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.N
 import org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier;
 
 /**
- * API defining basic device information
+ * API defining basic device information.
  */
 public interface DeviceInfo extends XidSequencer {
 
     /**
+     * Getter.
      * @return id of encapsulated node
      */
     NodeId getNodeId();
 
     /**
+     * Getter.
      * @return {@link Node} instance identifier
      */
     KeyedInstanceIdentifier<Node, NodeKey> getNodeInstanceIdentifier();
 
     /**
+     * Getter.
      * @return version
      */
     short getVersion();
 
     /**
+     * Getter.
      * @return datapathId
      */
     BigInteger getDatapathId();
 
     /**
+     * Getter.
      * @return clustering service identifier
      */
     ServiceGroupIdentifier getServiceIdentifier();
 
     /**
-     * Many uses in log, this will make code more readable
+     * Many uses in log, this will make code more readable.
      * @return string representation of nodeId
      */
     default String getLOGValue() {
index e86e06fdd80b7adc4ad847c3f1efb76a69aa8205..ecf6021470602164131bacce56ca93aecb0e559b 100644 (file)
@@ -27,7 +27,7 @@ public interface DeviceManager extends
         TranslatorLibrarian {
 
     /**
-     * invoked after all services injected
+     * invoked after all services injected.
      */
     void initialize();
 
index 9d5083594153deb32c834486d2735d8d6a1e5dd2..bef67020125acaace25532bcceb0f6875fc56880 100644 (file)
@@ -12,28 +12,25 @@ import org.opendaylight.openflowplugin.api.openflow.registry.group.DeviceGroupRe
 import org.opendaylight.openflowplugin.api.openflow.registry.meter.DeviceMeterRegistry;
 
 /**
- * Flows, Groups and Meter registry
+ * Flows, Groups and Meter registry.
  */
 public interface DeviceRegistry {
 
     /**
      * Method exposes flow registry used for storing flow ids identified by calculated flow hash.
-     *
-     * @return
+     * @return DeviceFlowRegistry
      */
     DeviceFlowRegistry getDeviceFlowRegistry();
 
     /**
      * Method exposes device group registry used for storing group ids.
-     *
-     * @return
+     * @return DeviceGroupRegistry
      */
     DeviceGroupRegistry getDeviceGroupRegistry();
 
     /**
      * Method exposes device meter registry used for storing meter ids.
-     *
-     * @return
+     * @return DeviceMaterRegistry
      */
     DeviceMeterRegistry getDeviceMeterRegistry();
 
index a9f6a1c7900f944d5dca47f55a0a735325b99f7a..f6196ec0929bdebae73c40a29f8861462389b06a 100644 (file)
@@ -9,15 +9,13 @@
 package org.opendaylight.openflowplugin.api.openflow.device;
 
 /**
- * Holder of device's structure
+ * Holder of device's structure.
  */
 public interface DeviceState {
 
     /**
      * Return true if we have relevant meter information
-     * from device
-     *
-     * @return
+     * from device.
      */
     boolean isMetersAvailable();
 
@@ -28,9 +26,7 @@ public interface DeviceState {
 
     /**
      * Return true if we have relevant group information
-     * from device
-     *
-     * @return
+     * from device.
      */
     boolean isGroupAvailable();
 
@@ -41,8 +37,6 @@ public interface DeviceState {
 
     /**
      * Method returns true, if device capabilities provides flow statistics.
-     *
-     * @return
      */
     boolean isFlowStatisticsAvailable();
 
@@ -50,8 +44,6 @@ public interface DeviceState {
 
     /**
      * Method returns true, if device capabilities provides table statistics.
-     *
-     * @return
      */
     boolean isTableStatisticsAvailable();
 
@@ -59,8 +51,6 @@ public interface DeviceState {
 
     /**
      * Method returns true, if device capabilities provides flow statistics.
-     *
-     * @return
      */
     boolean isPortStatisticsAvailable();
 
@@ -68,8 +58,6 @@ public interface DeviceState {
 
     /**
      * Method returns true, if device capabilities provides queue statistics.
-     *
-     * @return
      */
     boolean isQueueStatisticsAvailable();
 
index 2dea3a85ee8a2891f67adc9318757475ebf5dcce..1858ec5d3bda868e889bb52d12e27c72de3d6f93 100644 (file)
@@ -8,7 +8,7 @@
 package org.opendaylight.openflowplugin.api.openflow.device;
 
 /**
- * @author tkubas
+ * Message translator.
  * @param <I> input message
  * @param <O> output message
  *
@@ -16,10 +16,10 @@ package org.opendaylight.openflowplugin.api.openflow.device;
 public interface MessageTranslator<I, O> {
 
     /**
-     * Translates from input to output
-     * @param input
-     * @param deviceInfo
-     * @param connectionDistinguisher
+     * Translates from input to output.
+     * @param input input
+     * @param deviceInfo node information
+     * @param connectionDistinguisher connection distinguisher
      * @return message of output type
      */
     O translate(I input, DeviceInfo deviceInfo, Object connectionDistinguisher);
index 0a8f44f8b5b7a736859acce677ee8ae5c2f0553c..911c4ae4a7d3f143e0f508a4637c239da76d90b1 100644 (file)
@@ -12,13 +12,10 @@ import javax.annotation.Nullable;
 /**
  * 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>
- * Created by Martin Bobak &lt;mbobak@cisco.com&gt; on 25.2.2015.
  */
 public interface RequestContext<T> extends RequestFutureContext<T>, AutoCloseable {
     /**
      * Returns XID generated for this request.
-     *
      * @return Allocated XID, or null if the device has disconnected.
      */
     @Nullable Xid getXid();
@@ -28,8 +25,7 @@ public interface RequestContext<T> extends RequestFutureContext<T>, AutoCloseabl
 
     /**
      * Returns request timeout value.
-     *
-     * @return
+     * @return timeout
      */
     long getWaitTimeout();
 
index 00a0a586a7bc19a34d7e919cf79333156b4a2f32..1e7bf718f15ff5baa9552cbc3f9a0ef985c12e86 100644 (file)
@@ -10,12 +10,11 @@ package org.opendaylight.openflowplugin.api.openflow.device;
 import javax.annotation.Nullable;
 
 /**
- * Created by Martin Bobak &lt;mbobak@cisco.com&gt; on 1.4.2015.
+ * Request context stack.
  */
 public interface RequestContextStack {
     /**
      * Method returns new request context for current request.
-     *
      * @return A request context, or null if one cannot be created.
      */
     @Nullable <T> RequestContext<T> createRequestContext();
index 6011465c49e0ff6be1c70684fdee5b541edbba62..37daaab0adbaa2e0375d01bc5f9572a389ab84d8 100644 (file)
@@ -12,14 +12,13 @@ import com.google.common.util.concurrent.ListenableFuture;
 import org.opendaylight.yangtools.yang.common.RpcResult;
 
 /**
- * Created by Martin Bobak &lt;mbobak@cisco.com&gt; on 25.3.2015.
- * @param <T>
+ * Request context.
+ * @param <T> rpc result type
  */
 public interface RequestFutureContext<T> {
     /**
      * Method returns future to be used for handling device requests.
-     *
-     * @return
+     * @return rpc result
      */
     ListenableFuture<RpcResult<T>> getFuture();
 
index 8a380d5f6ed02939a49260304794e4e886be14a3..51156f6da122fffe20a9f7499429e3c7acd31f3d 100644 (file)
@@ -13,8 +13,9 @@ import org.opendaylight.openflowplugin.api.openflow.md.core.TranslatorKey;
 public interface TranslatorLibrary {
 
     /**
-     * @param key
-     * @return
+     * Lookup translator.
+     * @param key a key
+     * @return translator
      */
     <I, O> MessageTranslator<I, O> lookupTranslator(TranslatorKey key);
 }
index 1fc958013e6e740bf8219940c8a1b6e05093ccb1..6c216877dfd511609d53300bc442b5c818417619 100644 (file)
@@ -10,12 +10,11 @@ package org.opendaylight.openflowplugin.api.openflow.device;
 
 import org.opendaylight.controller.md.sal.binding.api.ReadOnlyTransaction;
 import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
-import org.opendaylight.controller.md.sal.common.api.data.TransactionChainClosedException;
 import org.opendaylight.yangtools.yang.binding.DataObject;
 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
 
 /**
- * Handles operations with transactions
+ * Handles operations with transactions.
  */
 public interface TxFacade {
 
@@ -27,8 +26,10 @@ public interface TxFacade {
                                                    final T data);
 
     /**
-     * Method creates put operation using provided data in underlying transaction chain and flag to create missing parents
-     * WARNING: This method is slow because of additional reading cost. Use it only if you really need to create parents.
+     * Method creates put operation using provided data in underlying transaction
+     * chain and flag to create missing parents.
+     * WARNING: This method is slow because of additional reading cost.
+     * Use it only if you really need to create parents.
      */
     <T extends DataObject> void writeToTransactionWithParentsSlow(final LogicalDatastoreType store,
                                                                   final InstanceIdentifier<T> path,
index 7d7a5dc004f9c316a461a8c7cef77c5bc1ed89d5..74adb6cff9b8b2115416f00ef6b0cc468bf0ab7f 100644 (file)
@@ -10,9 +10,6 @@ package org.opendaylight.openflowplugin.api.openflow.device;
 
 import com.google.common.base.Preconditions;
 
-/**
- * Created by Martin Bobak &lt;mbobak@cisco.com&gt; on 26.2.2015.
- */
 public final class Xid {
     private final Long value;
 
index 5bdfa055068ad625bda2d5fbe06a1c4f4ed36378..dd4e175c4fd2d8e356da4f9ecd363694fda2d951 100644 (file)
@@ -15,7 +15,8 @@ public interface XidSequencer {
 
     /**
      * Method reserve unique XID for Device Message.
-     * Attention: OFJava expect the message, otherwise OutboundQueue could stop working.
+     * Attention: OFJava expect the message,
+     * otherwise OutboundQueue could stop working.
      * @return Reserved XID
      */
     Long reserveXidForDeviceMessage();
index 21465187de239183fb99e2396f5449e5d1d43910..9e05228976450d64a575556ae8d231429ff5e4c3 100644 (file)
@@ -9,7 +9,7 @@
 package org.opendaylight.openflowplugin.api.openflow.device.exception;
 
 /**
- * Created by Martin Bobak &lt;mbobak@cisco.com&gt; on 25.2.2015.
+ * Request quota exception.
  */
 public class RequestQuotaExceededException extends Exception {
     private static final long serialVersionUID = 1L;
index 497bb29d5b6f92f539faacd78319a4457f794730..e55c0d4e1b65f9ccdad8df375ad0398f5635e6b9 100644 (file)
@@ -10,20 +10,20 @@ package org.opendaylight.openflowplugin.api.openflow.device.handlers;
 import org.opendaylight.openflowplugin.api.openflow.connection.ConnectionContext;
 
 /**
- * Interface handles MASTER initialization on ownership change
+ * Interface handles MASTER initialization on ownership change.
  */
 public interface ClusterInitializationPhaseHandler {
 
     /**
-     * Method for initialization cycle between contexts
+     * Method for initialization cycle between contexts.
      * @param connectionContext to check actual connection state
      */
     boolean onContextInstantiateService(final ConnectionContext connectionContext);
 
     /**
-     * Method for initial submit transaction after successful initial gathering
+     * Method for initial submit transaction after successful initial gathering.
      */
     default void initialSubmitTransaction(){
-        //This method need to be override only in device context to submit initial data
+        //This method need to be override only in device context to submit initial data.
     }
 }
index 6655dafc0733736145eb96ac4629358f61a956d8..a83c2e370d98ab955311fa02095ec75259813e83 100644 (file)
@@ -24,8 +24,7 @@ public interface ClusterLifecycleSupervisor {
     void setLifecycleInitializationPhaseHandler(final ClusterInitializationPhaseHandler handler);
 
     default void setInitialSubmitHandler(final ClusterInitializationPhaseHandler initialSubmitHandler) {
-        //Need to be only set in statistics context where after successful initial gather
-        //tx need to be submitted
+        //Need to be only set in statistics context where after successful initial gather tx need to be submitted
     }
 
 }
index 65ff8a659942d7e8878b50cae476c01849180455..04fdff9df345c70586c3960dfc3f15c4632da1d0 100644 (file)
@@ -21,6 +21,7 @@ public interface DeviceConnectedHandler {
      * Method is used to propagate information about established connection with device.
      * It propagates connected device's connection context.
      */
-    ConnectionStatus deviceConnected(ConnectionContext connectionContext) throws Exception;
+    ConnectionStatus deviceConnected(ConnectionContext connectionContext)
+            throws Exception;
 
 }
index a5d520a270061ed08a511df1711b2c75f0650f49..290d9db9aec3c79f27ef8b72ff95a312db8ce38a 100644 (file)
@@ -20,5 +20,5 @@ public interface DeviceDisconnectedHandler {
      * Method is used to propagate information about closed connection with device.
      * It propagates connected device's connection context.
      */
-    void onDeviceDisconnected(ConnectionContext connectionContext);
-}
+    void onDeviceDisconnected(final ConnectionContext connectionContext);
+}
\ No newline at end of file
index 2468818ad14e84f169713a29ce0e460daa959307..29d608a6afff1a80f62a8bab6dddbe6407acaece 100644 (file)
@@ -14,19 +14,13 @@ import org.opendaylight.openflowplugin.api.openflow.device.DeviceInfo;
 import org.opendaylight.openflowplugin.api.openflow.lifecycle.LifecycleService;
 
 /**
- * openflowplugin-api
- * org.opendaylight.openflowplugin.api.openflow.device.handlers
- *
  * Interface represent handler for new connected device building cycle. Every implementation
  * have some unnecessary steps which has to be done before add new Device instance.
- *
- * Created: Apr 3, 2015
  */
 public interface DeviceInitializationPhaseHandler {
 
     /**
      * Method represents an initialization cycle for {@link DeviceContext} preparation for use.
-     *
      * @param deviceInfo - device
      * @param lifecycleService - cluster singleton service
      * @throws Exception - needs to be catch in ConnectionHandler implementation
index a537b3edb5ade606e2ce138b9cc010f06becd619..5cbb9f25fdc611a624f24c7588182da9aecf466e 100644 (file)
@@ -9,21 +9,16 @@
 package org.opendaylight.openflowplugin.api.openflow.device.handlers;
 
 /**
- * openflowplugin-api
- * org.opendaylight.openflowplugin.api.openflow.device.handlers
- *
  * Interface has to implement all relevant manager to correctly handling
  * device initialization and termination phase. Methods are used for order
  * handlers in initialization/termination phase. Ordering is easily changed
  * by definition.
- *
  */
 public interface DeviceLifecycleSupervisor {
 
     /**
      * Method sets relevant {@link DeviceInitializationPhaseHandler} for building
      * handler's chain for new Device initial phase.
-     *
      * @param handler initialization phase handler
      */
     void setDeviceInitializationPhaseHandler(DeviceInitializationPhaseHandler handler);
@@ -31,7 +26,6 @@ public interface DeviceLifecycleSupervisor {
     /**
      * Method sets relevant {@link DeviceInitializationPhaseHandler} for annihilating
      * handler's chain for dead Device termination phase.
-     *
      * @param handler termination phase handler
      */
     void setDeviceTerminationPhaseHandler(DeviceTerminationPhaseHandler handler);
index 168522b42ee47bac10f8d7b91ce1baf0daac9dab..0a9bbad8b0a1bce1678224f43417bda5b370d8c0 100644 (file)
@@ -18,5 +18,5 @@ public interface DeviceRemovedHandler {
     /**
      * Method is used to propagate information about device being removed from manager.
      */
-    void onDeviceRemoved(DeviceInfo deviceInfo);
+    void onDeviceRemoved(final DeviceInfo deviceInfo);
 }
index 90f138d0b7961adc4ead9c6b88cc481ad647f775..7d2e10cf908eb68cc104614b43b0424b24b8f037 100644 (file)
@@ -17,49 +17,43 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731
 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.PortStatusMessage;
 
 /**
- * @author tkubas
+ * Device reply processor.
  */
 public interface DeviceReplyProcessor {
 
     /**
-     * Method that set future to context in Map
-     *
-     * @param ofHeader
+     * Method that set future to context in Map.
+     * @param ofHeader openflow header
      */
     void processReply(OfHeader ofHeader);
 
     /**
-     * Method that set future to context in Map
-     *
+     * Method that set future to context in Map.
      * @param xid xid
      * @param ofHeaderList openflow header list
      */
     void processReply(Xid xid, List<? extends OfHeader> ofHeaderList);
 
     /**
-     * Method process async flow removed from device
-     *
+     * Method process async flow removed from device.
      * @param flowRemoved flow removed
      */
     void processFlowRemovedMessage(FlowRemoved flowRemoved);
 
     /**
-     * Method process async port status from device
-     *
+     * Method process async port status from device.
      * @param portStatus port status
      */
     void processPortStatusMessage(PortStatusMessage portStatus);
 
     /**
-     * Method process async packet in from device
-     *
+     * Method process async packet in from device.
      * @param packetInMessage packet in message
      */
     void processPacketInMessage(PacketInMessage packetInMessage);
 
     /**
-     * Processing of experimenter symmetric message from device
-     *
+     * Processing of experimenter symmetric message from device.
      * @param notification notification
      */
     void processExperimenterMessage(ExperimenterMessage notification);
index afbf3040ebef84836144f7cf8cc8b60053dfaa7f..c67fcf6f18c62dbddf5dabc32fd2f9a112ae939a 100644 (file)
@@ -22,7 +22,6 @@ public interface DeviceTerminationPhaseHandler {
     /**
      * Method represents a termination cycle for {@link DeviceContext}.
      * @param deviceInfo {@link org.opendaylight.openflowplugin.api.openflow.device.DeviceInfo}
-     *
      */
     void onDeviceContextLevelDown(final @CheckForNull DeviceInfo deviceInfo);
 }
index de21d2575e63f7515a595e57f34f60343556efd3..7c3b4806954fc53cb8bd9e404abbcc4677464a16 100644 (file)
@@ -14,22 +14,13 @@ import org.opendaylight.openflowplugin.api.openflow.statistics.ofpspecific.Event
 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.OfHeader;
 
 /**
- * <p>
- * openflowplugin-api
- * org.opendaylight.openflowplugin.api.openflow.device
  * Collects multipart msgs from device by provided XID and returns them
  * to the caller as request/collection response one-to-one contract.
- *
- * @author <a href="mailto:vdemcak@cisco.com">Vaclav Demcak</a>
- * @author <a href="mailto:tkubas@cisco.com">Timotej Kubas</a>
- *         </p>
- *         Created: Mar 23, 2015
  */
 public interface MultiMsgCollector<T extends OfHeader> {
     /**
      * Method adds a reply multipart message to the collection and if the message has marker
      * "I'M A LAST" method set whole Collection to Future object and remove from cache.
-     *
      * @param reply reply
      * @param reqMore request more replies
      * @param eventIdentifier event identifier
@@ -40,7 +31,6 @@ public interface MultiMsgCollector<T extends OfHeader> {
      * Null response could be a valid end multipart collecting event for barrier response scenario.
      * We are not able to resolve an issue (it is or it isn't barrier scenario) so we have to finish
      * collecting multipart messages successfully.
-     *
      * @param eventIdentifier event identifier
      */
     void endCollecting(@Nullable EventIdentifier eventIdentifier);
index 8699e27160013550afbf06a68dcb7774220c05f3..e09dac1a481dc15cde248d346e2ca5cc5e2772f1 100644 (file)
@@ -11,7 +11,7 @@ package org.opendaylight.openflowplugin.api.openflow.device.listener;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.OpenflowProtocolListener;
 
 /**
- * Created by Martin Bobak &lt;mbobak@cisco.com&gt; on 4.4.2015.
+ * Facade for openflow protocol listener.
  */
 public interface OpenflowMessageListenerFacade extends OpenflowProtocolListener {
 }