directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r122628 - in incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples: echoserver netcat reverser
Date Fri, 17 Dec 2004 07:52:54 GMT
Author: trustin
Date: Thu Dec 16 23:52:52 2004
New Revision: 122628

URL: http://svn.apache.org/viewcvs?view=rev&rev=122628
Log:
 * Renamed example protocol handlers according to recent MINA name changes
Added:
   incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/echoserver/EchoProtocolHandler.java
      - copied, changed from r122627, incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/echoserver/EchoServerSessionHandler.java
   incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/netcat/NetCatProtocolHandler.java
      - copied, changed from r122627, incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/netcat/NetCatSessionHandler.java
   incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/reverser/ReverseProtocolHandler.java
      - copied, changed from r122627, incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/reverser/ReverseProtocolSessionHandler.java
Removed:
   incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/echoserver/EchoServerSessionHandler.java
   incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/netcat/NetCatSessionHandler.java
   incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/reverser/ReverseProtocolSessionHandler.java
Modified:
   incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/echoserver/Main.java
   incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/netcat/Main.java
   incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/reverser/ReverseProtocolProvider.java

Copied: incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/echoserver/EchoProtocolHandler.java
(from r122627, incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/echoserver/EchoServerSessionHandler.java)
Url: http://svn.apache.org/viewcvs/incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/echoserver/EchoProtocolHandler.java?view=diff&rev=122628&p1=incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/echoserver/EchoServerSessionHandler.java&r1=122627&p2=incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/echoserver/EchoProtocolHandler.java&r2=122628
==============================================================================
--- incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/echoserver/EchoServerSessionHandler.java
(original)
+++ incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/echoserver/EchoProtocolHandler.java
Thu Dec 16 23:52:52 2004
@@ -30,7 +30,7 @@
  * @author Trustin Lee (trustin@apache.org)
  * @version $Rev$, $Date$,
  */
-public class EchoServerSessionHandler implements IoHandler
+public class EchoProtocolHandler implements IoHandler
 {
     public void sessionOpened( IoSession IoSession )
     {

Deleted: /incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/echoserver/EchoServerSessionHandler.java
Url: http://svn.apache.org/viewcvs/incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/echoserver/EchoServerSessionHandler.java?view=auto&rev=122627
==============================================================================

Modified: incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/echoserver/Main.java
Url: http://svn.apache.org/viewcvs/incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/echoserver/Main.java?view=diff&rev=122628&p1=incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/echoserver/Main.java&r1=122627&p2=incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/echoserver/Main.java&r2=122628
==============================================================================
--- incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/echoserver/Main.java
(original)
+++ incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/echoserver/Main.java
Thu Dec 16 23:52:52 2004
@@ -37,7 +37,7 @@
     {
         Acceptor acceptor = new TcpAcceptor();
         acceptor.bind( new InetSocketAddress( PORT ),
-                       new EchoServerSessionHandler() );
+                       new EchoProtocolHandler() );
         System.out.println( "Listening on port " + PORT );
     }
 }

Modified: incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/netcat/Main.java
Url: http://svn.apache.org/viewcvs/incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/netcat/Main.java?view=diff&rev=122628&p1=incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/netcat/Main.java&r1=122627&p2=incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/netcat/Main.java&r2=122628
==============================================================================
--- incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/netcat/Main.java
(original)
+++ incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/netcat/Main.java
Thu Dec 16 23:52:52 2004
@@ -43,6 +43,6 @@
                  .connect(
                            new InetSocketAddress( args[ 0 ],
                                                   Integer.parseInt( args[ 1 ] ) ),
-                           60, new NetCatSessionHandler() );
+                           60, new NetCatProtocolHandler() );
     }
 }

Copied: incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/netcat/NetCatProtocolHandler.java
(from r122627, incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/netcat/NetCatSessionHandler.java)
Url: http://svn.apache.org/viewcvs/incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/netcat/NetCatProtocolHandler.java?view=diff&rev=122628&p1=incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/netcat/NetCatSessionHandler.java&r1=122627&p2=incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/netcat/NetCatProtocolHandler.java&r2=122628
==============================================================================
--- incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/netcat/NetCatSessionHandler.java
(original)
+++ incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/netcat/NetCatProtocolHandler.java
Thu Dec 16 23:52:52 2004
@@ -29,7 +29,7 @@
  * @author Trustin Lee (trustin@apache.org)
  * @version $Rev$, $Date$,
  */
-public class NetCatSessionHandler implements IoHandler
+public class NetCatProtocolHandler implements IoHandler
 {
     public void sessionOpened( IoSession session )
     {

Deleted: /incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/netcat/NetCatSessionHandler.java
Url: http://svn.apache.org/viewcvs/incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/netcat/NetCatSessionHandler.java?view=auto&rev=122627
==============================================================================

Copied: incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/reverser/ReverseProtocolHandler.java
(from r122627, incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/reverser/ReverseProtocolSessionHandler.java)
Url: http://svn.apache.org/viewcvs/incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/reverser/ReverseProtocolHandler.java?view=diff&rev=122628&p1=incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/reverser/ReverseProtocolSessionHandler.java&r1=122627&p2=incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/reverser/ReverseProtocolHandler.java&r2=122628
==============================================================================
--- incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/reverser/ReverseProtocolSessionHandler.java
(original)
+++ incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/reverser/ReverseProtocolHandler.java
Thu Dec 16 23:52:52 2004
@@ -28,7 +28,7 @@
  * @author Trustin Lee (trustin@apache.org)
  * @version $Rev$, $Date$,
  */
-public class ReverseProtocolSessionHandler implements ProtocolHandler
+public class ReverseProtocolHandler implements ProtocolHandler
 {
 
     public void sessionOpened( ProtocolSession session )

Modified: incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/reverser/ReverseProtocolProvider.java
Url: http://svn.apache.org/viewcvs/incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/reverser/ReverseProtocolProvider.java?view=diff&rev=122628&p1=incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/reverser/ReverseProtocolProvider.java&r1=122627&p2=incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/reverser/ReverseProtocolProvider.java&r2=122628
==============================================================================
--- incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/reverser/ReverseProtocolProvider.java
(original)
+++ incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/reverser/ReverseProtocolProvider.java
Thu Dec 16 23:52:52 2004
@@ -31,7 +31,7 @@
 public class ReverseProtocolProvider implements ProtocolProvider
 {
 
-    private static ProtocolHandler HANDLER = new ReverseProtocolSessionHandler();
+    private static ProtocolHandler HANDLER = new ReverseProtocolHandler();
 
     public ProtocolCodec newCodec()
     {

Deleted: /incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/reverser/ReverseProtocolSessionHandler.java
Url: http://svn.apache.org/viewcvs/incubator/directory/network/trunk/mina/src/examples/org/apache/mina/examples/reverser/ReverseProtocolSessionHandler.java?view=auto&rev=122627
==============================================================================

Mime
View raw message