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 0647c9ff2282d8c8c077a59edce323b4c478c6cf..1ae06a6293b727e3bce24f03a2112779368ddca2 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 4cc906bdd6da28a4c1b36bc000789f607edd996c..654279ec2ef72b19b87f33de1ab4d7cb96f51d84 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 029d556a03e76890dd6ed44d8394cb3a9b5c9c5a..bfa7bb27eeb875a5938ef3a826e75a7d7c57d042 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 e533be6e3776592d82fffb0caefc8f3553628fd5..bf6324bb4f678867b7114068f0b1e8fb1c6fc9cf 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 6601b0f9c7dcc89c120c983ace6175fa18f12a10..aba72b5c65b7cd75f517a6ba36ba02283ccbeeb7 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 c61b9eb88ec6d93c45325b3c1fc65c0a20bb0717..5c0b878a947a010b1bf04537e4b10d5d5fd5702d 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 529984a7ed396ac68224f53a7791f7df6a7826fd..91134c8fdac786a5d6e2dab59e07b25152fd9025 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 39d428d948eb05f8ea014c29063490ec9e042bb9..207d75bafa5611351bebaf0528ad6e3d3089b5c4 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 1c120554836b61b12a0f8b1e10dbdcb30238bd46..ace2794a3b64f8c599481d250bdb9877787e624a 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 8924012384dfef1f500997e3126370a8ffc088e6..8da1397e3bf59e145cb721a04ac2472f07acd959 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 053c884f15b01d54fb3395042afe47d362150dff..0cd558969a1e0b5acb516a83978274295498bae9 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 16a86bb7a10c7cf62c3150b3ccd3cdf13c328138..859e5cded22f9048eb5b80e9886f469d88a7b870 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;