Package io.grpc.netty
Interface ProtocolNegotiator.ClientFactory
-
- All Known Subinterfaces:
InternalProtocolNegotiator.ClientFactory
- All Known Implementing Classes:
NettyChannelBuilder.DefaultProtocolNegotiator,ProtocolNegotiators.PlaintextProtocolNegotiatorClientFactory,ProtocolNegotiators.PlaintextUpgradeProtocolNegotiatorClientFactory,ProtocolNegotiators.TlsProtocolNegotiatorClientFactory
- Enclosing interface:
- ProtocolNegotiator
public static interface ProtocolNegotiator.ClientFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetDefaultPort()Returns the implicit port to use if no port was specified explicitly by the user.ProtocolNegotiatornewNegotiator()Creates a new negotiator.
-
-
-
Method Detail
-
newNegotiator
ProtocolNegotiator newNegotiator()
Creates a new negotiator.
-
getDefaultPort
int getDefaultPort()
Returns the implicit port to use if no port was specified explicitly by the user.
-
-