You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by el...@apache.org on 2015/12/24 17:18:49 UTC

[5/8] mina git commit: Added some missing Javadoc elements

Added some missing Javadoc elements

Project: http://git-wip-us.apache.org/repos/asf/mina/repo
Commit: http://git-wip-us.apache.org/repos/asf/mina/commit/548e040a
Tree: http://git-wip-us.apache.org/repos/asf/mina/tree/548e040a
Diff: http://git-wip-us.apache.org/repos/asf/mina/diff/548e040a

Branch: refs/heads/2.0
Commit: 548e040a1545fb2272b2aeef638002dde608ed6e
Parents: 5373c00
Author: Emmanuel Lécharny <el...@symas.com>
Authored: Thu Dec 24 16:55:41 2015 +0100
Committer: Emmanuel Lécharny <el...@symas.com>
Committed: Thu Dec 24 16:55:41 2015 +0100

----------------------------------------------------------------------
 .../org/apache/mina/core/service/IoServiceListener.java | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mina/blob/548e040a/mina-core/src/main/java/org/apache/mina/core/service/IoServiceListener.java
----------------------------------------------------------------------
diff --git a/mina-core/src/main/java/org/apache/mina/core/service/IoServiceListener.java b/mina-core/src/main/java/org/apache/mina/core/service/IoServiceListener.java
index a504843..9d7d028 100644
--- a/mina-core/src/main/java/org/apache/mina/core/service/IoServiceListener.java
+++ b/mina-core/src/main/java/org/apache/mina/core/service/IoServiceListener.java
@@ -34,11 +34,13 @@ public interface IoServiceListener extends EventListener {
      * Invoked when a new service is activated by an {@link IoService}.
      *
      * @param service the {@link IoService}
+     * @throws Exception if an error occurred while the service is being activated
      */
     void serviceActivated(IoService service) throws Exception;
 
     /**
      * Invoked when a service is idle.
+     * @throws Exception if an error occurred while the service is being idled
      */
     void serviceIdle(IoService service, IdleStatus idleStatus) throws Exception;
 
@@ -46,6 +48,7 @@ public interface IoServiceListener extends EventListener {
      * Invoked when a service is deactivated by an {@link IoService}.
      *
      * @param service the {@link IoService}
+     * @throws Exception if an error occurred while the service is being deactivated
      */
     void serviceDeactivated(IoService service) throws Exception;
 
@@ -53,22 +56,23 @@ public interface IoServiceListener extends EventListener {
      * Invoked when a new session is created by an {@link IoService}.
      *
      * @param session the new session
+     * @throws Exception if an error occurred while the session is being created
      */
     void sessionCreated(IoSession session) throws Exception;
 
     /**
      * Invoked when a new session is closed by an {@link IoService}.
      * 
-     * @param session
-     *            the new session
+     * @param session the new session
+     * @throws Exception if an error occurred while the session is being closed
      */
     void sessionClosed(IoSession session) throws Exception;
 
     /**
      * Invoked when a session is being destroyed by an {@link IoService}.
      * 
-     * @param session
-     *            the session to be destroyed
+     * @param session the session to be destroyed
+     * @throws Exception if an error occurred while the session is being destroyed
      */
     void sessionDestroyed(IoSession session) throws Exception;
 }