-
- All Implemented Interfaces:
-
io.grpc.internal.ClientTransportFactory
,java.io.Closeable
,java.lang.AutoCloseable
@Internal() public final class BinderClientTransportFactory implements ClientTransportFactory
Creates new binder transports.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
BinderClientTransportFactory.Builder
Allows fluent construction of ClientTransportFactory.
-
Method Summary
Modifier and Type Method Description BinderTransport.BinderClientTransport
newClientTransport(SocketAddress addr, ClientTransportFactory.ClientTransportOptions options, ChannelLogger channelLogger)
ScheduledExecutorService
getScheduledExecutorService()
ClientTransportFactory.SwapChannelCredentialsResult
swapChannelCredentials(ChannelCredentials channelCreds)
void
close()
Collection<Class<out SocketAddress>>
getSupportedSocketAddressTypes()
-
Methods inherited from class io.grpc.internal.ClientTransportFactory
close, getScheduledExecutorService, getSupportedSocketAddressTypes, newClientTransport, swapChannelCredentials
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
newClientTransport
BinderTransport.BinderClientTransport newClientTransport(SocketAddress addr, ClientTransportFactory.ClientTransportOptions options, ChannelLogger channelLogger)
-
getScheduledExecutorService
ScheduledExecutorService getScheduledExecutorService()
-
swapChannelCredentials
ClientTransportFactory.SwapChannelCredentialsResult swapChannelCredentials(ChannelCredentials channelCreds)
-
close
void close()
-
getSupportedSocketAddressTypes
Collection<Class<out SocketAddress>> getSupportedSocketAddressTypes()
-
-
-
-