正在查看: SpeedCash v6.5.1482 应用的 ServerBuilder.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: SpeedCash v6.5.1482 应用的 ServerBuilder.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package io.grpc;
import com.google.common.base.Preconditions;
import io.grpc.ServerBuilder;
import io.grpc.ServerStreamTracer;
import java.io.File;
import java.io.InputStream;
import java.util.Iterator;
import java.util.List;
import java.util.concurrent.Executor;
import java.util.concurrent.TimeUnit;
import javax.annotation.Nullable;
public abstract class ServerBuilder<T extends ServerBuilder<T>> {
public static ServerBuilder<?> forPort(int i) {
return ServerProvider.provider().builderForPort(i);
}
public final T a() {
return this;
}
public abstract T addService(BindableService bindableService);
public abstract T addService(ServerServiceDefinition serverServiceDefinition);
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/7925")
public final T addServices(List<ServerServiceDefinition> list) {
Preconditions.checkNotNull(list, "services");
Iterator<ServerServiceDefinition> it = list.iterator();
while (it.hasNext()) {
addService(it.next());
}
return a();
}
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/2861")
public T addStreamTracerFactory(ServerStreamTracer.Factory factory) {
throw new UnsupportedOperationException();
}
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/2132")
public T addTransportFilter(ServerTransportFilter serverTransportFilter) {
throw new UnsupportedOperationException();
}
public abstract Server build();
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/8274")
public T callExecutor(ServerCallExecutorSupplier serverCallExecutorSupplier) {
return a();
}
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/1704")
public abstract T compressorRegistry(@Nullable CompressorRegistry compressorRegistry);
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/1704")
public abstract T decompressorRegistry(@Nullable DecompressorRegistry decompressorRegistry);
public abstract T directExecutor();
public abstract T executor(@Nullable Executor executor);
public abstract T fallbackHandlerRegistry(@Nullable HandlerRegistry handlerRegistry);
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/3706")
public T handshakeTimeout(long j, TimeUnit timeUnit) {
throw new UnsupportedOperationException();
}
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/3117")
public T intercept(ServerInterceptor serverInterceptor) {
throw new UnsupportedOperationException();
}
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/9009")
public T keepAliveTime(long j, TimeUnit timeUnit) {
throw new UnsupportedOperationException();
}
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/9009")
public T keepAliveTimeout(long j, TimeUnit timeUnit) {
throw new UnsupportedOperationException();
}
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/9009")
public T maxConnectionAge(long j, TimeUnit timeUnit) {
throw new UnsupportedOperationException();
}
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/9009")
public T maxConnectionAgeGrace(long j, TimeUnit timeUnit) {
throw new UnsupportedOperationException();
}
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/9009")
public T maxConnectionIdle(long j, TimeUnit timeUnit) {
throw new UnsupportedOperationException();
}
public T maxInboundMessageSize(int i) {
Preconditions.checkArgument(i >= 0, "bytes must be >= 0");
return a();
}
public T maxInboundMetadataSize(int i) {
Preconditions.checkArgument(i > 0, "maxInboundMetadataSize must be > 0");
return a();
}
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/9009")
public T permitKeepAliveTime(long j, TimeUnit timeUnit) {
throw new UnsupportedOperationException();
}
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/9009")
public T permitKeepAliveWithoutCalls(boolean z) {
throw new UnsupportedOperationException();
}
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/4017")
public T setBinaryLog(BinaryLog binaryLog) {
throw new UnsupportedOperationException();
}
public abstract T useTransportSecurity(File file, File file2);
public T useTransportSecurity(InputStream inputStream, InputStream inputStream2) {
throw new UnsupportedOperationException();
}
}