directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r388346 - /directory/trunks/mina/core/src/main/java/org/apache/mina/handler/multiton/SingleSessionIoHandlerAdapter.java
Date Fri, 24 Mar 2006 03:20:04 GMT
Author: trustin
Date: Thu Mar 23 19:20:01 2006
New Revision: 388346

URL: http://svn.apache.org/viewcvs?rev=388346&view=rev
Log:
Fixed the location of SessionUtil.initialize()


Modified:
    directory/trunks/mina/core/src/main/java/org/apache/mina/handler/multiton/SingleSessionIoHandlerAdapter.java

Modified: directory/trunks/mina/core/src/main/java/org/apache/mina/handler/multiton/SingleSessionIoHandlerAdapter.java
URL: http://svn.apache.org/viewcvs/directory/trunks/mina/core/src/main/java/org/apache/mina/handler/multiton/SingleSessionIoHandlerAdapter.java?rev=388346&r1=388345&r2=388346&view=diff
==============================================================================
--- directory/trunks/mina/core/src/main/java/org/apache/mina/handler/multiton/SingleSessionIoHandlerAdapter.java
(original)
+++ directory/trunks/mina/core/src/main/java/org/apache/mina/handler/multiton/SingleSessionIoHandlerAdapter.java
Thu Mar 23 19:20:01 2006
@@ -40,7 +40,7 @@
 
     /**
      * Creates a new instance that is assigned to the passed in session.
-     * 
+     *
      * @param session the session to which the handler is assigned
      */
     public SingleSessionIoHandlerAdapter(IoSession session)
@@ -54,46 +54,40 @@
 
     /**
      * Retrieves the session to which this handler is assigned.
-     * 
+     *
      * @return the session
      */
-    protected IoSession getSession() 
+    protected IoSession getSession()
     {
         return session;
     }
 
-    public void exceptionCaught(Throwable th) throws Exception 
+    public void exceptionCaught(Throwable th) throws Exception
     {
-
     }
 
-    public void messageReceived(Object message) throws Exception 
+    public void messageReceived(Object message) throws Exception
     {
-
     }
 
-    public void messageSent(Object message) throws Exception 
+    public void messageSent(Object message) throws Exception
     {
-
     }
 
-    public void sessionClosed() throws Exception 
+    public void sessionClosed() throws Exception
     {
-        SessionUtil.initialize( getSession() );
     }
 
-    public void sessionCreated() throws Exception 
+    public void sessionCreated() throws Exception
     {
-
+        SessionUtil.initialize( getSession() );
     }
 
-    public void sessionIdle(IdleStatus status) throws Exception 
+    public void sessionIdle(IdleStatus status) throws Exception
     {
-
     }
 
-    public void sessionOpened() throws Exception 
+    public void sessionOpened() throws Exception
     {
-
     }
 }



Mime
View raw message