You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by ad...@apache.org on 2011/09/17 18:40:23 UTC

svn commit: r1172013 - /mina/trunk/core/src/main/java/org/apache/mina/service/SelectorStrategy.java

Author: adc
Date: Sat Sep 17 16:40:23 2011
New Revision: 1172013

URL: http://svn.apache.org/viewvc?rev=1172013&view=rev
Log:
Filled out gaps in comments

Modified:
    mina/trunk/core/src/main/java/org/apache/mina/service/SelectorStrategy.java

Modified: mina/trunk/core/src/main/java/org/apache/mina/service/SelectorStrategy.java
URL: http://svn.apache.org/viewvc/mina/trunk/core/src/main/java/org/apache/mina/service/SelectorStrategy.java?rev=1172013&r1=1172012&r2=1172013&view=diff
==============================================================================
--- mina/trunk/core/src/main/java/org/apache/mina/service/SelectorStrategy.java (original)
+++ mina/trunk/core/src/main/java/org/apache/mina/service/SelectorStrategy.java Sat Sep 17 16:40:23 2011
@@ -43,21 +43,21 @@ public interface SelectorStrategy {
      * This processor will be in charge of selecting the socket for write ready events.
      * 
      * @param session the session in need of writing
-     * @return the selector processor for handling this sessino write events
+     * @return the selector processor for handling this session write events
      */
     SelectorProcessor getSelectorForWrite(IoSession session);
     
     /**
      * Provide a {@link SelectorProcessor} for processing a newly bound address.
      * The processor will accept the incoming connections.
-     * @return
+     * @return a {@link SelectorProcessor} for processing a newly bound address
      */
     SelectorProcessor getSelectorForBindNewAddress();
     
     /**
      * Unbind an address and remove it from its {@link SelectorProcessor} 
-     * @param address
-     * @throws IOException
+     * @param address the address to be unbound and removed
+     * @throws IOException thrown if any problem occurs while unbinding
      */
     void unbind(SocketAddress address) throws IOException;
 }