directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r448075 - in /directory/trunks/mina/example/src: main/java/org/apache/mina/example/echoserver/ main/java/org/apache/mina/example/echoserver/ssl/ main/java/org/apache/mina/example/httpserver/ main/java/org/apache/mina/example/httpserver/stre...
Date Wed, 20 Sep 2006 05:26:55 GMT
Author: trustin
Date: Tue Sep 19 22:26:53 2006
New Revision: 448075

URL: http://svn.apache.org/viewvc?view=rev&rev=448075
Log:
Fixed compilation errors caused by the recent package name changes

Added:
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/httpserver/stream/
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/httpserver/stream/HttpProtocolHandler.java
  (contents, props changed)
      - copied, changed from r448074, directory/trunks/mina/example/src/main/java/org/apache/mina/example/httpserver/HttpProtocolHandler.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/httpserver/stream/Main.java
  (contents, props changed)
      - copied, changed from r448074, directory/trunks/mina/example/src/main/java/org/apache/mina/example/httpserver/Main.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/httpserver/stream/package.html
  (props changed)
      - copied unchanged from r448074, directory/trunks/mina/example/src/main/java/org/apache/mina/example/httpserver/package.html
    directory/trunks/mina/example/src/test/java/org/apache/mina/example/
      - copied from r448073, directory/trunks/mina/example/src/test/java/org/apache/mina/examples/
Removed:
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/httpserver/HttpProtocolHandler.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/httpserver/Main.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/httpserver/package.html
    directory/trunks/mina/example/src/test/java/org/apache/mina/examples/
Modified:
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/echoserver/EchoProtocolHandler.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/echoserver/Main.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/echoserver/ssl/BogusSSLContextFactory.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/echoserver/ssl/BogusTrustManagerFactory.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/echoserver/ssl/SSLServerSocketFactory.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/echoserver/ssl/SSLSocketFactory.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/netcat/Main.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/netcat/NetCatProtocolHandler.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/proxy/AbstractProxyIoHandler.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/proxy/ClientToProxyIoHandler.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/proxy/Main.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/proxy/ServerToProxyIoHandler.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/reverser/Main.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/reverser/ReverseProtocolHandler.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/Client.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/ClientSessionHandler.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/Server.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/ServerSessionHandler.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/AbstractMessageDecoder.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/AbstractMessageEncoder.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/AddMessageDecoder.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/AddMessageEncoder.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/Constants.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/ResultMessageDecoder.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/ResultMessageEncoder.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/SumUpProtocolCodecFactory.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/message/AbstractMessage.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/message/AddMessage.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/message/ResultMessage.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/tennis/Main.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/tennis/TennisBall.java
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/tennis/TennisPlayer.java
    directory/trunks/mina/example/src/test/java/org/apache/mina/example/echoserver/AbstractTest.java
    directory/trunks/mina/example/src/test/java/org/apache/mina/example/echoserver/AcceptorTest.java
    directory/trunks/mina/example/src/test/java/org/apache/mina/example/echoserver/ConnectorTest.java

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/echoserver/EchoProtocolHandler.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/echoserver/EchoProtocolHandler.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/echoserver/EchoProtocolHandler.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/echoserver/EchoProtocolHandler.java
Tue Sep 19 22:26:53 2006
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.echoserver;
+package org.apache.mina.example.echoserver;
 
 import org.apache.mina.common.ByteBuffer;
 import org.apache.mina.common.IdleStatus;

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/echoserver/Main.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/echoserver/Main.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/echoserver/Main.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/echoserver/Main.java
Tue Sep 19 22:26:53 2006
@@ -17,14 +17,14 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.echoserver;
+package org.apache.mina.example.echoserver;
 
 import java.net.InetSocketAddress;
 
 import org.apache.mina.common.DefaultIoFilterChainBuilder;
 import org.apache.mina.common.IoAcceptor;
 import org.apache.mina.common.IoAcceptorConfig;
-import org.apache.mina.examples.echoserver.ssl.BogusSSLContextFactory;
+import org.apache.mina.example.echoserver.ssl.BogusSSLContextFactory;
 import org.apache.mina.filter.LoggingFilter;
 import org.apache.mina.filter.SSLFilter;
 import org.apache.mina.transport.socket.nio.SocketAcceptor;

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/echoserver/ssl/BogusSSLContextFactory.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/echoserver/ssl/BogusSSLContextFactory.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/echoserver/ssl/BogusSSLContextFactory.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/echoserver/ssl/BogusSSLContextFactory.java
Tue Sep 19 22:26:53 2006
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.echoserver.ssl;
+package org.apache.mina.example.echoserver.ssl;
 
 import java.io.IOException;
 import java.io.InputStream;

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/echoserver/ssl/BogusTrustManagerFactory.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/echoserver/ssl/BogusTrustManagerFactory.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/echoserver/ssl/BogusTrustManagerFactory.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/echoserver/ssl/BogusTrustManagerFactory.java
Tue Sep 19 22:26:53 2006
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.echoserver.ssl;
+package org.apache.mina.example.echoserver.ssl;
 
 import java.security.InvalidAlgorithmParameterException;
 import java.security.KeyStore;

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/echoserver/ssl/SSLServerSocketFactory.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/echoserver/ssl/SSLServerSocketFactory.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/echoserver/ssl/SSLServerSocketFactory.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/echoserver/ssl/SSLServerSocketFactory.java
Tue Sep 19 22:26:53 2006
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.echoserver.ssl;
+package org.apache.mina.example.echoserver.ssl;
 
 import java.io.IOException;
 import java.net.InetAddress;

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/echoserver/ssl/SSLSocketFactory.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/echoserver/ssl/SSLSocketFactory.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/echoserver/ssl/SSLSocketFactory.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/echoserver/ssl/SSLSocketFactory.java
Tue Sep 19 22:26:53 2006
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.echoserver.ssl;
+package org.apache.mina.example.echoserver.ssl;
 
 import java.io.IOException;
 import java.net.InetAddress;

Copied: directory/trunks/mina/example/src/main/java/org/apache/mina/example/httpserver/stream/HttpProtocolHandler.java
(from r448074, directory/trunks/mina/example/src/main/java/org/apache/mina/example/httpserver/HttpProtocolHandler.java)
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/httpserver/stream/HttpProtocolHandler.java?view=diff&rev=448075&p1=directory/trunks/mina/example/src/main/java/org/apache/mina/example/httpserver/HttpProtocolHandler.java&r1=448074&p2=directory/trunks/mina/example/src/main/java/org/apache/mina/example/httpserver/stream/HttpProtocolHandler.java&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/httpserver/HttpProtocolHandler.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/httpserver/stream/HttpProtocolHandler.java
Tue Sep 19 22:26:53 2006
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.httpserver;
+package org.apache.mina.example.httpserver.stream;
 
 import java.io.BufferedReader;
 import java.io.BufferedWriter;

Propchange: directory/trunks/mina/example/src/main/java/org/apache/mina/example/httpserver/stream/HttpProtocolHandler.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/mina/example/src/main/java/org/apache/mina/example/httpserver/stream/HttpProtocolHandler.java
------------------------------------------------------------------------------
    svn:keywords = HeadURL Id LastChangedBy LastChangedDate LastChangedRevision

Copied: directory/trunks/mina/example/src/main/java/org/apache/mina/example/httpserver/stream/Main.java
(from r448074, directory/trunks/mina/example/src/main/java/org/apache/mina/example/httpserver/Main.java)
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/httpserver/stream/Main.java?view=diff&rev=448075&p1=directory/trunks/mina/example/src/main/java/org/apache/mina/example/httpserver/Main.java&r1=448074&p2=directory/trunks/mina/example/src/main/java/org/apache/mina/example/httpserver/stream/Main.java&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/httpserver/Main.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/httpserver/stream/Main.java
Tue Sep 19 22:26:53 2006
@@ -17,14 +17,14 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.httpserver;
+package org.apache.mina.example.httpserver.stream;
 
 import java.net.InetSocketAddress;
 
 import org.apache.mina.common.DefaultIoFilterChainBuilder;
 import org.apache.mina.common.IoAcceptor;
 import org.apache.mina.common.IoAcceptorConfig;
-import org.apache.mina.examples.echoserver.ssl.BogusSSLContextFactory;
+import org.apache.mina.example.echoserver.ssl.BogusSSLContextFactory;
 import org.apache.mina.filter.SSLFilter;
 import org.apache.mina.transport.socket.nio.SocketAcceptor;
 import org.apache.mina.transport.socket.nio.SocketAcceptorConfig;

Propchange: directory/trunks/mina/example/src/main/java/org/apache/mina/example/httpserver/stream/Main.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/mina/example/src/main/java/org/apache/mina/example/httpserver/stream/Main.java
------------------------------------------------------------------------------
    svn:keywords = HeadURL Id LastChangedBy LastChangedDate LastChangedRevision

Propchange: directory/trunks/mina/example/src/main/java/org/apache/mina/example/httpserver/stream/package.html
------------------------------------------------------------------------------
    svn:keywords = HeadURL Id LastChangedBy LastChangedDate LastChangedRevision

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/netcat/Main.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/netcat/Main.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/netcat/Main.java (original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/netcat/Main.java Tue
Sep 19 22:26:53 2006
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.netcat;
+package org.apache.mina.example.netcat;
 
 import java.net.InetSocketAddress;
 

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/netcat/NetCatProtocolHandler.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/netcat/NetCatProtocolHandler.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/netcat/NetCatProtocolHandler.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/netcat/NetCatProtocolHandler.java
Tue Sep 19 22:26:53 2006
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.netcat;
+package org.apache.mina.example.netcat;
 
 import org.apache.mina.common.ByteBuffer;
 import org.apache.mina.common.IdleStatus;

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/proxy/AbstractProxyIoHandler.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/proxy/AbstractProxyIoHandler.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/proxy/AbstractProxyIoHandler.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/proxy/AbstractProxyIoHandler.java
Tue Sep 19 22:26:53 2006
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.proxy;
+package org.apache.mina.example.proxy;
 
 import java.nio.charset.Charset;
 

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/proxy/ClientToProxyIoHandler.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/proxy/ClientToProxyIoHandler.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/proxy/ClientToProxyIoHandler.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/proxy/ClientToProxyIoHandler.java
Tue Sep 19 22:26:53 2006
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.proxy;
+package org.apache.mina.example.proxy;
 
 import java.net.InetSocketAddress;
 

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/proxy/Main.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/proxy/Main.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/proxy/Main.java (original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/proxy/Main.java Tue
Sep 19 22:26:53 2006
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.proxy;
+package org.apache.mina.example.proxy;
 
 import java.net.InetSocketAddress;
 
@@ -35,7 +35,7 @@
  * strings before being logged.
  * <p>
  * Start a proxy like this:<br/>
- * <code>org.apache.mina.examples.proxy.Main 12345 www.google.com 80</code><br/>
+ * <code>org.apache.mina.example.proxy.Main 12345 www.google.com 80</code><br/>
  * and open <a href="http://localhost:12345">http://localhost:12345</a> in a
  * browser window.
  * </p>

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/proxy/ServerToProxyIoHandler.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/proxy/ServerToProxyIoHandler.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/proxy/ServerToProxyIoHandler.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/proxy/ServerToProxyIoHandler.java
Tue Sep 19 22:26:53 2006
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.proxy;
+package org.apache.mina.example.proxy;
 
 /**
  * Handles the server to proxy part of the proxied connection.

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/reverser/Main.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/reverser/Main.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/reverser/Main.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/reverser/Main.java
Tue Sep 19 22:26:53 2006
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.reverser;
+package org.apache.mina.example.reverser;
 
 import java.net.InetSocketAddress;
 

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/reverser/ReverseProtocolHandler.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/reverser/ReverseProtocolHandler.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/reverser/ReverseProtocolHandler.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/reverser/ReverseProtocolHandler.java
Tue Sep 19 22:26:53 2006
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.reverser;
+package org.apache.mina.example.reverser;
 
 import org.apache.mina.common.IoFilter;
 import org.apache.mina.common.IoHandler;

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/Client.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/Client.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/Client.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/Client.java
Tue Sep 19 22:26:53 2006
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.sumup;
+package org.apache.mina.example.sumup;
 
 import java.net.InetSocketAddress;
 

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/ClientSessionHandler.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/ClientSessionHandler.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/ClientSessionHandler.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/ClientSessionHandler.java
Tue Sep 19 22:26:53 2006
@@ -17,14 +17,14 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.sumup;
+package org.apache.mina.example.sumup;
 
 import org.apache.mina.common.IoHandler;
 import org.apache.mina.common.IoHandlerAdapter;
 import org.apache.mina.common.IoSession;
-import org.apache.mina.examples.sumup.codec.SumUpProtocolCodecFactory;
-import org.apache.mina.examples.sumup.message.AddMessage;
-import org.apache.mina.examples.sumup.message.ResultMessage;
+import org.apache.mina.example.sumup.codec.SumUpProtocolCodecFactory;
+import org.apache.mina.example.sumup.message.AddMessage;
+import org.apache.mina.example.sumup.message.ResultMessage;
 import org.apache.mina.filter.LoggingFilter;
 import org.apache.mina.filter.codec.ProtocolCodecFactory;
 import org.apache.mina.filter.codec.ProtocolCodecFilter;

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/Server.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/Server.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/Server.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/Server.java
Tue Sep 19 22:26:53 2006
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.sumup;
+package org.apache.mina.example.sumup;
 
 import java.net.InetSocketAddress;
 

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/ServerSessionHandler.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/ServerSessionHandler.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/ServerSessionHandler.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/ServerSessionHandler.java
Tue Sep 19 22:26:53 2006
@@ -17,14 +17,14 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.sumup;
+package org.apache.mina.example.sumup;
 
 import org.apache.mina.common.IdleStatus;
 import org.apache.mina.common.IoHandler;
 import org.apache.mina.common.IoSession;
-import org.apache.mina.examples.sumup.codec.SumUpProtocolCodecFactory;
-import org.apache.mina.examples.sumup.message.AddMessage;
-import org.apache.mina.examples.sumup.message.ResultMessage;
+import org.apache.mina.example.sumup.codec.SumUpProtocolCodecFactory;
+import org.apache.mina.example.sumup.message.AddMessage;
+import org.apache.mina.example.sumup.message.ResultMessage;
 import org.apache.mina.filter.LoggingFilter;
 import org.apache.mina.filter.codec.ProtocolCodecFactory;
 import org.apache.mina.filter.codec.ProtocolCodecFilter;

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/AbstractMessageDecoder.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/AbstractMessageDecoder.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/AbstractMessageDecoder.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/AbstractMessageDecoder.java
Tue Sep 19 22:26:53 2006
@@ -17,11 +17,11 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.sumup.codec;
+package org.apache.mina.example.sumup.codec;
 
 import org.apache.mina.common.ByteBuffer;
 import org.apache.mina.common.IoSession;
-import org.apache.mina.examples.sumup.message.AbstractMessage;
+import org.apache.mina.example.sumup.message.AbstractMessage;
 import org.apache.mina.filter.codec.ProtocolDecoderOutput;
 import org.apache.mina.filter.codec.demux.MessageDecoder;
 import org.apache.mina.filter.codec.demux.MessageDecoderResult;

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/AbstractMessageEncoder.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/AbstractMessageEncoder.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/AbstractMessageEncoder.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/AbstractMessageEncoder.java
Tue Sep 19 22:26:53 2006
@@ -17,11 +17,11 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.sumup.codec;
+package org.apache.mina.example.sumup.codec;
 
 import org.apache.mina.common.ByteBuffer;
 import org.apache.mina.common.IoSession;
-import org.apache.mina.examples.sumup.message.AbstractMessage;
+import org.apache.mina.example.sumup.message.AbstractMessage;
 import org.apache.mina.filter.codec.ProtocolEncoderOutput;
 import org.apache.mina.filter.codec.demux.MessageEncoder;
 

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/AddMessageDecoder.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/AddMessageDecoder.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/AddMessageDecoder.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/AddMessageDecoder.java
Tue Sep 19 22:26:53 2006
@@ -17,12 +17,12 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.sumup.codec;
+package org.apache.mina.example.sumup.codec;
 
 import org.apache.mina.common.ByteBuffer;
 import org.apache.mina.common.IoSession;
-import org.apache.mina.examples.sumup.message.AbstractMessage;
-import org.apache.mina.examples.sumup.message.AddMessage;
+import org.apache.mina.example.sumup.message.AbstractMessage;
+import org.apache.mina.example.sumup.message.AddMessage;
 import org.apache.mina.filter.codec.ProtocolDecoderOutput;
 import org.apache.mina.filter.codec.demux.MessageDecoder;
 

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/AddMessageEncoder.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/AddMessageEncoder.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/AddMessageEncoder.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/AddMessageEncoder.java
Tue Sep 19 22:26:53 2006
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.sumup.codec;
+package org.apache.mina.example.sumup.codec;
 
 import java.util.Collections;
 import java.util.HashSet;
@@ -25,8 +25,8 @@
 
 import org.apache.mina.common.ByteBuffer;
 import org.apache.mina.common.IoSession;
-import org.apache.mina.examples.sumup.message.AbstractMessage;
-import org.apache.mina.examples.sumup.message.AddMessage;
+import org.apache.mina.example.sumup.message.AbstractMessage;
+import org.apache.mina.example.sumup.message.AddMessage;
 import org.apache.mina.filter.codec.demux.MessageEncoder;
 
 /**

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/Constants.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/Constants.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/Constants.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/Constants.java
Tue Sep 19 22:26:53 2006
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.sumup.codec;
+package org.apache.mina.example.sumup.codec;
 
 /**
  * Provides SumUp protocol constants.

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/ResultMessageDecoder.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/ResultMessageDecoder.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/ResultMessageDecoder.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/ResultMessageDecoder.java
Tue Sep 19 22:26:53 2006
@@ -17,12 +17,12 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.sumup.codec;
+package org.apache.mina.example.sumup.codec;
 
 import org.apache.mina.common.ByteBuffer;
 import org.apache.mina.common.IoSession;
-import org.apache.mina.examples.sumup.message.AbstractMessage;
-import org.apache.mina.examples.sumup.message.ResultMessage;
+import org.apache.mina.example.sumup.message.AbstractMessage;
+import org.apache.mina.example.sumup.message.ResultMessage;
 import org.apache.mina.filter.codec.ProtocolDecoderOutput;
 import org.apache.mina.filter.codec.demux.MessageDecoder;
 

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/ResultMessageEncoder.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/ResultMessageEncoder.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/ResultMessageEncoder.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/ResultMessageEncoder.java
Tue Sep 19 22:26:53 2006
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.sumup.codec;
+package org.apache.mina.example.sumup.codec;
 
 import java.util.Collections;
 import java.util.HashSet;
@@ -25,8 +25,8 @@
 
 import org.apache.mina.common.ByteBuffer;
 import org.apache.mina.common.IoSession;
-import org.apache.mina.examples.sumup.message.AbstractMessage;
-import org.apache.mina.examples.sumup.message.ResultMessage;
+import org.apache.mina.example.sumup.message.AbstractMessage;
+import org.apache.mina.example.sumup.message.ResultMessage;
 import org.apache.mina.filter.codec.demux.MessageEncoder;
 
 /**

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/SumUpProtocolCodecFactory.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/SumUpProtocolCodecFactory.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/SumUpProtocolCodecFactory.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/codec/SumUpProtocolCodecFactory.java
Tue Sep 19 22:26:53 2006
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.sumup.codec;
+package org.apache.mina.example.sumup.codec;
 
 import org.apache.mina.filter.codec.ProtocolCodecFactory;
 import org.apache.mina.filter.codec.demux.DemuxingProtocolCodecFactory;

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/message/AbstractMessage.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/message/AbstractMessage.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/message/AbstractMessage.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/message/AbstractMessage.java
Tue Sep 19 22:26:53 2006
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.sumup.message;
+package org.apache.mina.example.sumup.message;
 
 import java.io.Serializable;
 

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/message/AddMessage.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/message/AddMessage.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/message/AddMessage.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/message/AddMessage.java
Tue Sep 19 22:26:53 2006
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.sumup.message;
+package org.apache.mina.example.sumup.message;
 
 /**
  * <code>ADD</code> message in SumUp protocol.

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/message/ResultMessage.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/message/ResultMessage.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/message/ResultMessage.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/sumup/message/ResultMessage.java
Tue Sep 19 22:26:53 2006
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.sumup.message;
+package org.apache.mina.example.sumup.message;
 
 /**
  * <code>RESULT</code> message in SumUp protocol.

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/tennis/Main.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/tennis/Main.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/tennis/Main.java (original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/tennis/Main.java Tue
Sep 19 22:26:53 2006
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.tennis;
+package org.apache.mina.example.tennis;
 
 import org.apache.mina.common.ConnectFuture;
 import org.apache.mina.common.IoAcceptor;

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/tennis/TennisBall.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/tennis/TennisBall.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/tennis/TennisBall.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/tennis/TennisBall.java
Tue Sep 19 22:26:53 2006
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.tennis;
+package org.apache.mina.example.tennis;
 
 /**
  * A tennis ball which has TTL value and state whose value is one of 'PING' and

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/tennis/TennisPlayer.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/tennis/TennisPlayer.java?view=diff&rev=448075&r1=448074&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/tennis/TennisPlayer.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/tennis/TennisPlayer.java
Tue Sep 19 22:26:53 2006
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.tennis;
+package org.apache.mina.example.tennis;
 
 import org.apache.mina.common.IoHandler;
 import org.apache.mina.common.IoHandlerAdapter;

Modified: directory/trunks/mina/example/src/test/java/org/apache/mina/example/echoserver/AbstractTest.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/test/java/org/apache/mina/example/echoserver/AbstractTest.java?view=diff&rev=448075&r1=448073&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/test/java/org/apache/mina/example/echoserver/AbstractTest.java
(original)
+++ directory/trunks/mina/example/src/test/java/org/apache/mina/example/echoserver/AbstractTest.java
Tue Sep 19 22:26:53 2006
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.echoserver;
+package org.apache.mina.example.echoserver;
 
 import java.io.IOException;
 import java.net.InetSocketAddress;
@@ -28,7 +28,7 @@
 import org.apache.mina.common.ByteBuffer;
 import org.apache.mina.common.IoAcceptor;
 import org.apache.mina.common.IoSession;
-import org.apache.mina.examples.echoserver.ssl.BogusSSLContextFactory;
+import org.apache.mina.example.echoserver.ssl.BogusSSLContextFactory;
 import org.apache.mina.filter.SSLFilter;
 import org.apache.mina.transport.socket.nio.DatagramAcceptor;
 import org.apache.mina.transport.socket.nio.DatagramSessionConfig;

Modified: directory/trunks/mina/example/src/test/java/org/apache/mina/example/echoserver/AcceptorTest.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/test/java/org/apache/mina/example/echoserver/AcceptorTest.java?view=diff&rev=448075&r1=448073&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/test/java/org/apache/mina/example/echoserver/AcceptorTest.java
(original)
+++ directory/trunks/mina/example/src/test/java/org/apache/mina/example/echoserver/AcceptorTest.java
Tue Sep 19 22:26:53 2006
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.echoserver;
+package org.apache.mina.example.echoserver;
 
 import java.io.IOException;
 import java.net.InetAddress;
@@ -31,8 +31,8 @@
 
 import org.apache.commons.net.EchoTCPClient;
 import org.apache.commons.net.EchoUDPClient;
-import org.apache.mina.examples.echoserver.ssl.SSLServerSocketFactory;
-import org.apache.mina.examples.echoserver.ssl.SSLSocketFactory;
+import org.apache.mina.example.echoserver.ssl.SSLServerSocketFactory;
+import org.apache.mina.example.echoserver.ssl.SSLSocketFactory;
 
 /**
  * Tests echo server example.

Modified: directory/trunks/mina/example/src/test/java/org/apache/mina/example/echoserver/ConnectorTest.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/test/java/org/apache/mina/example/echoserver/ConnectorTest.java?view=diff&rev=448075&r1=448073&r2=448075
==============================================================================
--- directory/trunks/mina/example/src/test/java/org/apache/mina/example/echoserver/ConnectorTest.java
(original)
+++ directory/trunks/mina/example/src/test/java/org/apache/mina/example/echoserver/ConnectorTest.java
Tue Sep 19 22:26:53 2006
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.mina.examples.echoserver;
+package org.apache.mina.example.echoserver;
 
 import java.net.InetSocketAddress;
 
@@ -30,7 +30,7 @@
 import org.apache.mina.common.IoSession;
 import org.apache.mina.common.RuntimeIOException;
 import org.apache.mina.common.WriteFuture;
-import org.apache.mina.examples.echoserver.ssl.BogusSSLContextFactory;
+import org.apache.mina.example.echoserver.ssl.BogusSSLContextFactory;
 import org.apache.mina.filter.SSLFilter;
 import org.apache.mina.transport.socket.nio.DatagramConnector;
 import org.apache.mina.transport.socket.nio.SocketConnector;



Mime
View raw message