Copyright update
[openflowjava.git] / openflow-protocol-impl / src / main / java / org / opendaylight / openflowjava / protocol / impl / core / IdleHandler.java
index f187b72511eb7d70578d9310a03f3d7a168953b9..65af251677882578339809afe7c1d07d8778f99a 100644 (file)
@@ -1,4 +1,11 @@
-/* Copyright (C)2013 Pantheon Technologies, s.r.o. All rights reserved. */
+/*
+ * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
 package org.opendaylight.openflowjava.protocol.impl.core;
 
 import java.util.concurrent.TimeUnit;
@@ -12,10 +19,20 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.system.rev130927.S
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+/**
+ * Detects idle state of switch and informs upper layers
+ * @author michal.polkorab
+ */
 public class IdleHandler extends IdleStateHandler{
-    
+
     private static final Logger LOGGER = LoggerFactory.getLogger(IdleHandler.class);
 
+    /**
+     * @param readerIdleTime
+     * @param writerIdleTime
+     * @param allIdleTime
+     * @param unit
+     */
     public IdleHandler(long readerIdleTime, long writerIdleTime,
             long allIdleTime, TimeUnit unit) {
         super(readerIdleTime, writerIdleTime, allIdleTime, unit);