From c11dd714fb5e00659dd3d034c27e39deb29725df Mon Sep 17 00:00:00 2001 From: javahongxi Date: Sun, 7 Oct 2018 14:18:18 +0800 Subject: [PATCH] whatsmars-rpc --- .../{lightrpc => whatsmars}/remoting/netty4/HelloClient.java | 2 +- .../remoting/netty4/HelloClientHandler.java | 2 +- .../{lightrpc => whatsmars}/remoting/netty4/HelloServer.java | 2 +- .../remoting/netty4/HelloServerHandler.java | 2 +- .../remoting/netty4/support/http/HttpHelloWorldServer.java | 2 +- .../netty4/support/http/HttpHelloWorldServerHandler.java | 2 +- .../netty4/support/http/HttpHelloWorldServerInitializer.java | 2 +- .../rpc/grpc/client/HelloWorldClient.java | 2 +- .../rpc/grpc/server/HelloWorldServer.java | 2 +- .../hongxi/{lightrpc => whatsmars}/codec/Serialization.java | 2 +- .../serialization/DeserializableObject.java | 4 ++-- .../serialization/Hessian2Serialization.java | 4 ++-- 12 files changed, 14 insertions(+), 14 deletions(-) rename whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/{lightrpc => whatsmars}/remoting/netty4/HelloClient.java (97%) rename whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/{lightrpc => whatsmars}/remoting/netty4/HelloClientHandler.java (96%) rename whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/{lightrpc => whatsmars}/remoting/netty4/HelloServer.java (97%) rename whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/{lightrpc => whatsmars}/remoting/netty4/HelloServerHandler.java (96%) rename whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/{lightrpc => whatsmars}/remoting/netty4/support/http/HttpHelloWorldServer.java (97%) rename whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/{lightrpc => whatsmars}/remoting/netty4/support/http/HttpHelloWorldServerHandler.java (97%) rename whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/{lightrpc => whatsmars}/remoting/netty4/support/http/HttpHelloWorldServerInitializer.java (93%) rename whatsmars-rpc/whatsmars-rpc-grpc/src/main/java/org/hongxi/{lightrpc => whatsmars}/rpc/grpc/client/HelloWorldClient.java (96%) rename whatsmars-rpc/whatsmars-rpc-grpc/src/main/java/org/hongxi/{lightrpc => whatsmars}/rpc/grpc/server/HelloWorldServer.java (97%) rename whatsmars-rpc/whatsmars-serialization/src/main/java/org/hongxi/{lightrpc => whatsmars}/codec/Serialization.java (94%) rename whatsmars-rpc/whatsmars-serialization/src/main/java/org/hongxi/{lightrpc => whatsmars}/serialization/DeserializableObject.java (89%) rename whatsmars-rpc/whatsmars-serialization/src/main/java/org/hongxi/{lightrpc => whatsmars}/serialization/Hessian2Serialization.java (94%) diff --git a/whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/lightrpc/remoting/netty4/HelloClient.java b/whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/whatsmars/remoting/netty4/HelloClient.java similarity index 97% rename from whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/lightrpc/remoting/netty4/HelloClient.java rename to whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/whatsmars/remoting/netty4/HelloClient.java index 0647c9ff..1ae06a62 100644 --- a/whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/lightrpc/remoting/netty4/HelloClient.java +++ b/whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/whatsmars/remoting/netty4/HelloClient.java @@ -1,4 +1,4 @@ -package org.hongxi.lightrpc.remoting.netty4; +package org.hongxi.whatsmars.remoting.netty4; import io.netty.bootstrap.Bootstrap; import io.netty.channel.ChannelFuture; diff --git a/whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/lightrpc/remoting/netty4/HelloClientHandler.java b/whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/whatsmars/remoting/netty4/HelloClientHandler.java similarity index 96% rename from whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/lightrpc/remoting/netty4/HelloClientHandler.java rename to whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/whatsmars/remoting/netty4/HelloClientHandler.java index 4cc906bd..654279ec 100644 --- a/whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/lightrpc/remoting/netty4/HelloClientHandler.java +++ b/whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/whatsmars/remoting/netty4/HelloClientHandler.java @@ -1,4 +1,4 @@ -package org.hongxi.lightrpc.remoting.netty4; +package org.hongxi.whatsmars.remoting.netty4; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; diff --git a/whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/lightrpc/remoting/netty4/HelloServer.java b/whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/whatsmars/remoting/netty4/HelloServer.java similarity index 97% rename from whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/lightrpc/remoting/netty4/HelloServer.java rename to whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/whatsmars/remoting/netty4/HelloServer.java index 029d556a..bfa7bb27 100644 --- a/whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/lightrpc/remoting/netty4/HelloServer.java +++ b/whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/whatsmars/remoting/netty4/HelloServer.java @@ -1,4 +1,4 @@ -package org.hongxi.lightrpc.remoting.netty4; +package org.hongxi.whatsmars.remoting.netty4; import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.ChannelFuture; diff --git a/whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/lightrpc/remoting/netty4/HelloServerHandler.java b/whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/whatsmars/remoting/netty4/HelloServerHandler.java similarity index 96% rename from whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/lightrpc/remoting/netty4/HelloServerHandler.java rename to whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/whatsmars/remoting/netty4/HelloServerHandler.java index e533be6e..bf6324bb 100644 --- a/whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/lightrpc/remoting/netty4/HelloServerHandler.java +++ b/whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/whatsmars/remoting/netty4/HelloServerHandler.java @@ -1,4 +1,4 @@ -package org.hongxi.lightrpc.remoting.netty4; +package org.hongxi.whatsmars.remoting.netty4; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; diff --git a/whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/lightrpc/remoting/netty4/support/http/HttpHelloWorldServer.java b/whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/whatsmars/remoting/netty4/support/http/HttpHelloWorldServer.java similarity index 97% rename from whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/lightrpc/remoting/netty4/support/http/HttpHelloWorldServer.java rename to whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/whatsmars/remoting/netty4/support/http/HttpHelloWorldServer.java index 6601b0f9..aba72b5c 100644 --- a/whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/lightrpc/remoting/netty4/support/http/HttpHelloWorldServer.java +++ b/whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/whatsmars/remoting/netty4/support/http/HttpHelloWorldServer.java @@ -1,4 +1,4 @@ -package org.hongxi.lightrpc.remoting.netty4.support.http; +package org.hongxi.whatsmars.remoting.netty4.support.http; import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.Channel; diff --git a/whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/lightrpc/remoting/netty4/support/http/HttpHelloWorldServerHandler.java b/whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/whatsmars/remoting/netty4/support/http/HttpHelloWorldServerHandler.java similarity index 97% rename from whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/lightrpc/remoting/netty4/support/http/HttpHelloWorldServerHandler.java rename to whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/whatsmars/remoting/netty4/support/http/HttpHelloWorldServerHandler.java index c61b9eb8..5c0b878a 100644 --- a/whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/lightrpc/remoting/netty4/support/http/HttpHelloWorldServerHandler.java +++ b/whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/whatsmars/remoting/netty4/support/http/HttpHelloWorldServerHandler.java @@ -1,4 +1,4 @@ -package org.hongxi.lightrpc.remoting.netty4.support.http; +package org.hongxi.whatsmars.remoting.netty4.support.http; import io.netty.buffer.Unpooled; import io.netty.channel.ChannelFutureListener; diff --git a/whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/lightrpc/remoting/netty4/support/http/HttpHelloWorldServerInitializer.java b/whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/whatsmars/remoting/netty4/support/http/HttpHelloWorldServerInitializer.java similarity index 93% rename from whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/lightrpc/remoting/netty4/support/http/HttpHelloWorldServerInitializer.java rename to whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/whatsmars/remoting/netty4/support/http/HttpHelloWorldServerInitializer.java index 529984a7..91134c8f 100644 --- a/whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/lightrpc/remoting/netty4/support/http/HttpHelloWorldServerInitializer.java +++ b/whatsmars-rpc/whatsmars-remoting/src/main/java/org/hongxi/whatsmars/remoting/netty4/support/http/HttpHelloWorldServerInitializer.java @@ -1,4 +1,4 @@ -package org.hongxi.lightrpc.remoting.netty4.support.http; +package org.hongxi.whatsmars.remoting.netty4.support.http; import io.netty.channel.ChannelInitializer; import io.netty.channel.ChannelPipeline; diff --git a/whatsmars-rpc/whatsmars-rpc-grpc/src/main/java/org/hongxi/lightrpc/rpc/grpc/client/HelloWorldClient.java b/whatsmars-rpc/whatsmars-rpc-grpc/src/main/java/org/hongxi/whatsmars/rpc/grpc/client/HelloWorldClient.java similarity index 96% rename from whatsmars-rpc/whatsmars-rpc-grpc/src/main/java/org/hongxi/lightrpc/rpc/grpc/client/HelloWorldClient.java rename to whatsmars-rpc/whatsmars-rpc-grpc/src/main/java/org/hongxi/whatsmars/rpc/grpc/client/HelloWorldClient.java index 39d428d9..207d75ba 100644 --- a/whatsmars-rpc/whatsmars-rpc-grpc/src/main/java/org/hongxi/lightrpc/rpc/grpc/client/HelloWorldClient.java +++ b/whatsmars-rpc/whatsmars-rpc-grpc/src/main/java/org/hongxi/whatsmars/rpc/grpc/client/HelloWorldClient.java @@ -1,4 +1,4 @@ -package org.hongxi.lightrpc.rpc.grpc.client; +package org.hongxi.whatsmars.rpc.grpc.client; import io.grpc.ManagedChannel; import io.grpc.ManagedChannelBuilder; diff --git a/whatsmars-rpc/whatsmars-rpc-grpc/src/main/java/org/hongxi/lightrpc/rpc/grpc/server/HelloWorldServer.java b/whatsmars-rpc/whatsmars-rpc-grpc/src/main/java/org/hongxi/whatsmars/rpc/grpc/server/HelloWorldServer.java similarity index 97% rename from whatsmars-rpc/whatsmars-rpc-grpc/src/main/java/org/hongxi/lightrpc/rpc/grpc/server/HelloWorldServer.java rename to whatsmars-rpc/whatsmars-rpc-grpc/src/main/java/org/hongxi/whatsmars/rpc/grpc/server/HelloWorldServer.java index 1c120554..ace2794a 100644 --- a/whatsmars-rpc/whatsmars-rpc-grpc/src/main/java/org/hongxi/lightrpc/rpc/grpc/server/HelloWorldServer.java +++ b/whatsmars-rpc/whatsmars-rpc-grpc/src/main/java/org/hongxi/whatsmars/rpc/grpc/server/HelloWorldServer.java @@ -1,4 +1,4 @@ -package org.hongxi.lightrpc.rpc.grpc.server; +package org.hongxi.whatsmars.rpc.grpc.server; import io.grpc.Server; import io.grpc.ServerBuilder; diff --git a/whatsmars-rpc/whatsmars-serialization/src/main/java/org/hongxi/lightrpc/codec/Serialization.java b/whatsmars-rpc/whatsmars-serialization/src/main/java/org/hongxi/whatsmars/codec/Serialization.java similarity index 94% rename from whatsmars-rpc/whatsmars-serialization/src/main/java/org/hongxi/lightrpc/codec/Serialization.java rename to whatsmars-rpc/whatsmars-serialization/src/main/java/org/hongxi/whatsmars/codec/Serialization.java index 89240123..8da1397e 100644 --- a/whatsmars-rpc/whatsmars-serialization/src/main/java/org/hongxi/lightrpc/codec/Serialization.java +++ b/whatsmars-rpc/whatsmars-serialization/src/main/java/org/hongxi/whatsmars/codec/Serialization.java @@ -1,4 +1,4 @@ -package org.hongxi.lightrpc.codec; +package org.hongxi.whatsmars.codec; import java.io.IOException; diff --git a/whatsmars-rpc/whatsmars-serialization/src/main/java/org/hongxi/lightrpc/serialization/DeserializableObject.java b/whatsmars-rpc/whatsmars-serialization/src/main/java/org/hongxi/whatsmars/serialization/DeserializableObject.java similarity index 89% rename from whatsmars-rpc/whatsmars-serialization/src/main/java/org/hongxi/lightrpc/serialization/DeserializableObject.java rename to whatsmars-rpc/whatsmars-serialization/src/main/java/org/hongxi/whatsmars/serialization/DeserializableObject.java index 053c884f..0cd55896 100644 --- a/whatsmars-rpc/whatsmars-serialization/src/main/java/org/hongxi/lightrpc/serialization/DeserializableObject.java +++ b/whatsmars-rpc/whatsmars-serialization/src/main/java/org/hongxi/whatsmars/serialization/DeserializableObject.java @@ -1,6 +1,6 @@ -package org.hongxi.lightrpc.serialization; +package org.hongxi.whatsmars.serialization; -import org.hongxi.lightrpc.codec.Serialization; +import org.hongxi.whatsmars.codec.Serialization; import java.io.IOException; diff --git a/whatsmars-rpc/whatsmars-serialization/src/main/java/org/hongxi/lightrpc/serialization/Hessian2Serialization.java b/whatsmars-rpc/whatsmars-serialization/src/main/java/org/hongxi/whatsmars/serialization/Hessian2Serialization.java similarity index 94% rename from whatsmars-rpc/whatsmars-serialization/src/main/java/org/hongxi/lightrpc/serialization/Hessian2Serialization.java rename to whatsmars-rpc/whatsmars-serialization/src/main/java/org/hongxi/whatsmars/serialization/Hessian2Serialization.java index 16a86bb7..859e5cde 100644 --- a/whatsmars-rpc/whatsmars-serialization/src/main/java/org/hongxi/lightrpc/serialization/Hessian2Serialization.java +++ b/whatsmars-rpc/whatsmars-serialization/src/main/java/org/hongxi/whatsmars/serialization/Hessian2Serialization.java @@ -1,8 +1,8 @@ -package org.hongxi.lightrpc.serialization; +package org.hongxi.whatsmars.serialization; import com.caucho.hessian.io.Hessian2Input; import com.caucho.hessian.io.Hessian2Output; -import org.hongxi.lightrpc.codec.Serialization; +import org.hongxi.whatsmars.codec.Serialization; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; -- GitLab