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 2008/07/21 13:28:54 UTC

svn commit: r678391 - /mina/trunk/core/src/main/java/org/apache/mina/handler/demux/MessageHandler.java

Author: elecharny
Date: Mon Jul 21 04:28:53 2008
New Revision: 678391

URL: http://svn.apache.org/viewvc?rev=678391&view=rev
Log:
Added some documentation to the interface (@param)

Modified:
    mina/trunk/core/src/main/java/org/apache/mina/handler/demux/MessageHandler.java

Modified: mina/trunk/core/src/main/java/org/apache/mina/handler/demux/MessageHandler.java
URL: http://svn.apache.org/viewvc/mina/trunk/core/src/main/java/org/apache/mina/handler/demux/MessageHandler.java?rev=678391&r1=678390&r2=678391&view=diff
==============================================================================
--- mina/trunk/core/src/main/java/org/apache/mina/handler/demux/MessageHandler.java (original)
+++ mina/trunk/core/src/main/java/org/apache/mina/handler/demux/MessageHandler.java Mon Jul 21 04:28:53 2008
@@ -43,6 +43,10 @@
     /**
      * Invoked when the specific type of message is received from or sent to
      * the specified <code>session</code>.
+     * 
+     * @param session the associated {@link IoSession}
+     * @param message the message to decode. Its type is set by the implementation
+     * @throws Exception if there is an error during the message processing
      */
     void handleMessage(IoSession session, E message) throws Exception;
 }
\ No newline at end of file