tiny-grpc/grpc_client/src/main/java/client/RouteGuideClient.java
/**
     * Issues several different requests and then exits.
     */
Issues several different requests and then exits.
Issues several different requests and then exits .
public static void main(String[] args) throws InterruptedException {
        RouteGuideClient client = new RouteGuideClient("localhost", 8989);
        try {
            client.getAllIndustryType();
        } finally {
            client.shutdown();
        }
    }
public static void main ( String [ ] args ) throws InterruptedException { RouteGuideClient client = new RouteGuideClient ( "localhost" , 8989 ) ; try { client . getAllIndustryType ( ) ; } finally { client . shutdown ( ) ; } }
Issues several different requests and then exits.
Issues several different requests and then exits .
// Looking for a valid feature //            client.getFeature(409146138, -746188906); // Feature missing. //            client.getFeature(0, 0);