Searched refs:AndroidChannelBuilder (Results 1 – 3 of 3) sorted by relevance
58 public final class AndroidChannelBuilder extends ForwardingChannelBuilder<AndroidChannelBuilder> { class76 public static final AndroidChannelBuilder forTarget(String target) { in forTarget()77 return new AndroidChannelBuilder(target); in forTarget()80 public static AndroidChannelBuilder forAddress(String name, int port) { in forAddress()84 public static AndroidChannelBuilder fromBuilder(ManagedChannelBuilder<?> builder) { in fromBuilder()85 return new AndroidChannelBuilder(builder); in fromBuilder()88 private AndroidChannelBuilder(String target) { in AndroidChannelBuilder() method in AndroidChannelBuilder103 private AndroidChannelBuilder(ManagedChannelBuilder<?> delegateBuilder) { in AndroidChannelBuilder() method in AndroidChannelBuilder108 public AndroidChannelBuilder context(Context context) { in context()120 public AndroidChannelBuilder transportExecutor(@Nullable Executor transportExecutor) { in transportExecutor()[all …]
1 # AndroidChannelBuilder chapter4 `AndroidChannelBuilder` class. Given an Android Context, this builder will12 the connection. This delay is removed when `AndroidChannelBuilder` is provided16 On Android API levels 24+, `AndroidChannelBuilder`'s network listener mechanism21 listening for changes in the device's default network, `AndroidChannelBuilder`27 ***Note:*** *Currently, `AndroidChannelBuilder` is only compatible with gRPC50 When constructing your channel, use `AndroidChannelBuilder` and provide it with54 import io.grpc.android.AndroidChannelBuilder;56 ManagedChannel channel = AndroidChannelBuilder.forAddress("localhost", 8080)64 registered by `AndroidChannelBuilder` will be unregistered.
93 AndroidChannelBuilder.forTarget("target"); in channelBuilderClassFoundReflectively()99 AndroidChannelBuilder androidBuilder = AndroidChannelBuilder.fromBuilder(wrappedBuilder); in fromBuilderConstructor()105 AndroidChannelBuilder.forTarget("target") in transportExecutor()115 AndroidChannelBuilder.forTarget("target") in sslSocketFactory()121 AndroidChannelBuilder.forTarget("target").scheduledExecutorService(new ScheduledExecutorImpl()); in scheduledExecutorService()128 ManagedChannel androidChannel = new AndroidChannelBuilder.AndroidChannel(delegateChannel, null); in nullContextDoesNotThrow_api23()144 ManagedChannel androidChannel = new AndroidChannelBuilder.AndroidChannel(delegateChannel, null); in nullContextDoesNotThrow_api24()159 new AndroidChannelBuilder.AndroidChannel( in resetConnectBackoff_api23()214 new AndroidChannelBuilder.AndroidChannel( in resetConnectBackoffAndEnterIdle_api24()255 new AndroidChannelBuilder.AndroidChannel( in newChannelWithConnection_entersIdleOnSecondConnectionChange_api24()[all …]