GrpcTransportFactory
class GrpcTransportFactory( serverInfo: NuguServerInfo, dnsLookup: DnsLookup? = null, callOptions: CallOptions? = null, channelOptions: ChannelOptions? = null) : TransportFactory
Content copied to clipboard
TransportFactory to create GrpcTransport.
Parameters
option
the options for GrpcTransport
Constructors
Link copied to clipboard
fun GrpcTransportFactory( serverInfo: NuguServerInfo, dnsLookup: DnsLookup? = null, callOptions: CallOptions? = null, channelOptions: ChannelOptions? = null)
Content copied to clipboard
Functions
Link copied to clipboard
open override fun createTransport( authDelegate: AuthDelegate, messageConsumer: MessageConsumer, transportObserver: TransportListener, isStartReceiveServerInitiatedDirective: () -> Boolean): Transport
Content copied to clipboard
Create a Transport.