GrpcTransportFactory

class GrpcTransportFactory(    serverInfo: NuguServerInfo,     dnsLookup: DnsLookup? = null,     callOptions: CallOptions? = null,     channelOptions: ChannelOptions? = null) : TransportFactory

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)

Functions

Link copied to clipboard
open override fun createTransport(    authDelegate: AuthDelegate,     messageConsumer: MessageConsumer,     transportObserver: TransportListener,     isStartReceiveServerInitiatedDirective: () -> Boolean): Transport

Create a Transport.