package io.grpc; import io.grpc.Context; import java.io.IOException; import java.net.SocketAddress; import java.util.Collections; import java.util.List; import java.util.concurrent.TimeUnit; /* loaded from: classes6.dex */ public abstract class Server { static final Context.Key SERVER_CONTEXT_KEY = Context.key("io.grpc.Server"); public abstract void awaitTermination() throws InterruptedException; public abstract boolean awaitTermination(long j, TimeUnit timeUnit) throws InterruptedException; public int getPort() { return -1; } public abstract boolean isShutdown(); public abstract boolean isTerminated(); public abstract Server shutdown(); public abstract Server shutdownNow(); public abstract Server start() throws IOException; public List getListenSockets() { throw new UnsupportedOperationException(); } public List getServices() { return Collections.emptyList(); } public List getImmutableServices() { return Collections.emptyList(); } public List getMutableServices() { return Collections.emptyList(); } }