[#787] Move the socks package to the right place

This commit is contained in:
Norman Maurer 2012-12-04 09:14:05 +01:00
parent 9c0b2ad75c
commit a9af028077
35 changed files with 43 additions and 43 deletions

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
import io.netty.buffer.ByteBuf;
import io.netty.util.CharsetUtil;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
import io.netty.buffer.ByteBuf;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
import io.netty.buffer.ByteBuf;
import io.netty.util.CharsetUtil;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
import io.netty.buffer.ByteBuf;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
final class SocksCommonUtils {
public static final SocksRequest UNKNOWN_SOCKS_REQUEST = new UnknownSocksRequest();

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
import io.netty.buffer.ByteBuf;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
import io.netty.buffer.ByteBuf;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
import io.netty.buffer.ByteBuf;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandler;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
/**
* An abstract class that defines a SocksRequest, providing common properties for

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
/**
* An abstract class that defines a SocksResponse, providing common properties for

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
import io.netty.buffer.ByteBuf;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
import io.netty.buffer.ByteBuf;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
import io.netty.buffer.ByteBuf;

View File

@ -17,4 +17,4 @@
/**
* Encoder, decoder and their related message types for Socks.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
import io.netty.channel.embedded.EmbeddedByteChannel;
import org.junit.Test;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
import org.junit.Test;
import static org.junit.Assert.assertTrue;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
import io.netty.channel.embedded.EmbeddedByteChannel;
import org.junit.Test;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
import org.junit.Test;
import static org.junit.Assert.assertTrue;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
import io.netty.channel.embedded.EmbeddedByteChannel;
import org.junit.Test;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
import org.junit.Test;
import static org.junit.Assert.assertTrue;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
import io.netty.channel.embedded.EmbeddedByteChannel;
import org.junit.Test;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
import org.junit.Test;
import static org.junit.Assert.assertTrue;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
import org.junit.Test;
import static org.junit.Assert.assertTrue;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.codec.socks;
package io.netty.handler.codec.socks;
import org.junit.Test;
import static org.junit.Assert.assertTrue;

View File

@ -24,9 +24,9 @@ import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInboundMessageHandlerAdapter;
import io.netty.channel.ChannelOption;
import io.netty.channel.socket.nio.NioSocketChannel;
import io.netty.codec.socks.SocksCmdRequest;
import io.netty.codec.socks.SocksCmdResponse;
import io.netty.codec.socks.SocksMessage;
import io.netty.handler.codec.socks.SocksCmdRequest;
import io.netty.handler.codec.socks.SocksCmdResponse;
import io.netty.handler.codec.socks.SocksMessage;
@ChannelHandler.Sharable

View File

@ -18,12 +18,12 @@ package io.netty.example.socksproxy;
import io.netty.channel.ChannelHandler;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInboundMessageHandlerAdapter;
import io.netty.codec.socks.SocksCmdRequestDecoder;
import io.netty.codec.socks.SocksInitResponse;
import io.netty.codec.socks.SocksMessage;
import io.netty.codec.socks.SocksRequest;
import io.netty.codec.socks.SocksAuthResponse;
import io.netty.codec.socks.SocksCmdRequest;
import io.netty.handler.codec.socks.SocksCmdRequestDecoder;
import io.netty.handler.codec.socks.SocksInitResponse;
import io.netty.handler.codec.socks.SocksMessage;
import io.netty.handler.codec.socks.SocksRequest;
import io.netty.handler.codec.socks.SocksAuthResponse;
import io.netty.handler.codec.socks.SocksCmdRequest;
@ChannelHandler.Sharable

View File

@ -18,8 +18,8 @@ package io.netty.example.socksproxy;
import io.netty.channel.ChannelInitializer;
import io.netty.channel.ChannelPipeline;
import io.netty.channel.socket.SocketChannel;
import io.netty.codec.socks.SocksInitRequestDecoder;
import io.netty.codec.socks.SocksMessageEncoder;
import io.netty.handler.codec.socks.SocksInitRequestDecoder;
import io.netty.handler.codec.socks.SocksMessageEncoder;
public final class SocksServerInitializer extends ChannelInitializer<SocketChannel> {
private final SocksMessageEncoder socksMessageEncoder = new SocksMessageEncoder();