mirror of https://github.com/grpc/grpc-java.git
examples: move json server and client to advanced package
Fixes: #1778 (again)
This commit is contained in:
parent
6f2c1ea078
commit
a10712b515
|
|
@ -29,7 +29,7 @@
|
|||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package io.grpc.examples.helloworld;
|
||||
package io.grpc.examples.advanced;
|
||||
|
||||
import static io.grpc.stub.ClientCalls.blockingUnaryCall;
|
||||
|
||||
|
|
@ -39,6 +39,10 @@ import io.grpc.ManagedChannel;
|
|||
import io.grpc.ManagedChannelBuilder;
|
||||
import io.grpc.MethodDescriptor;
|
||||
import io.grpc.StatusRuntimeException;
|
||||
import io.grpc.examples.helloworld.GreeterGrpc;
|
||||
import io.grpc.examples.helloworld.HelloReply;
|
||||
import io.grpc.examples.helloworld.HelloRequest;
|
||||
import io.grpc.examples.helloworld.HelloWorldClient;
|
||||
import io.grpc.protobuf.ProtoUtils;
|
||||
import io.grpc.stub.AbstractStub;
|
||||
|
||||
|
|
@ -29,14 +29,18 @@
|
|||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package io.grpc.examples.helloworld;
|
||||
package io.grpc.examples.advanced;
|
||||
|
||||
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
|
||||
|
||||
import io.grpc.Server;
|
||||
import io.grpc.ServerBuilder;
|
||||
import io.grpc.ServerServiceDefinition;
|
||||
import io.grpc.examples.helloworld.GreeterGrpc;
|
||||
import io.grpc.examples.helloworld.GreeterGrpc.Greeter;
|
||||
import io.grpc.examples.helloworld.HelloReply;
|
||||
import io.grpc.examples.helloworld.HelloRequest;
|
||||
import io.grpc.examples.helloworld.HelloWorldServer;
|
||||
import io.grpc.stub.ServerCalls.UnaryMethod;
|
||||
import io.grpc.stub.StreamObserver;
|
||||
|
||||
Loading…
Reference in New Issue