public class GRPCChannel extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GRPCChannel.Builder |
| Modifier and Type | Method and Description |
|---|---|
io.grpc.Channel |
getChannel() |
boolean |
isConnected() |
boolean |
isConnected(boolean requestConnection) |
boolean |
isShutdown() |
boolean |
isTerminated() |
static GRPCChannel.Builder |
newBuilder(String host,
int port) |
void |
shutdownNow() |
public static GRPCChannel.Builder newBuilder(String host, int port)
public io.grpc.Channel getChannel()
public boolean isTerminated()
public void shutdownNow()
public boolean isShutdown()
public boolean isConnected()
public boolean isConnected(boolean requestConnection)
Copyright © 2019 The Apache Software Foundation. All rights reserved.