Package io.deephaven.enterprise.remote
Interface ManagedChannelFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An object that produces a
ManagedChannel given host, port and max message size.-
Method Summary
-
Method Details
-
make
io.grpc.ManagedChannel make(@NotNull @NotNull String host, int port, int maxInboundMessageSize, @NotNull @NotNull Map<String, String> extraHeaders) throws IOExceptionCreate a newManagedChannelusing the given host port and size.- Parameters:
host- the host nameport- the portmaxInboundMessageSize- the maximum inbound message size.extraHeaders- extra headers to include with channel messages- Returns:
- a new
ManagedChannel - Throws:
IOException- if the channel could not be created
-