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

    Modifier and Type
    Method
    Description
    int
    Returns the implicit port to use if no port was specified explicitly by the user.
    Creates a new negotiator.
  • Method Details

    • 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.