@Internal public static final class BinderTransport.BinderServerTransport extends BinderTransport implements io.grpc.internal.ServerTransport
BinderTransport.BinderClientTransport, BinderTransport.BinderServerTransport, BinderTransport.TransportStateattributes, EARLIEST_SUPPORTED_WIRE_FORMAT_VERSION, INBOUND_PARCELABLE_POLICY, ongoingCalls, REMOTE_UID, SERVER_AUTHORITY, SETUP_TRANSPORT, SHUTDOWN_TRANSPORT, shutdownStatus, WIRE_FORMAT_VERSION| Constructor and Description |
|---|
BinderServerTransport(io.grpc.internal.ObjectPool<java.util.concurrent.ScheduledExecutorService> executorServicePool,
io.grpc.Attributes attributes,
java.util.List<io.grpc.ServerStreamTracer.Factory> streamTracerFactories,
android.os.IBinder callbackBinder) |
| Modifier and Type | Method and Description |
|---|---|
protected io.grpc.binder.internal.Inbound<?> |
createInbound(int callId) |
void |
notifyShutdown(io.grpc.Status status) |
void |
notifyTerminated() |
void |
setServerTransportListener(io.grpc.internal.ServerTransportListener serverTransportListener) |
void |
shutdown() |
void |
shutdownNow(io.grpc.Status reason) |
binderDied, getAttributes, getLogId, getScheduledExecutorService, getStats, handlePingResponse, handleSetupTransport, handleTransaction, sendPing, setOutgoingBinder, unregisterInboundpublic BinderServerTransport(io.grpc.internal.ObjectPool<java.util.concurrent.ScheduledExecutorService> executorServicePool,
io.grpc.Attributes attributes,
java.util.List<io.grpc.ServerStreamTracer.Factory> streamTracerFactories,
android.os.IBinder callbackBinder)
public void setServerTransportListener(io.grpc.internal.ServerTransportListener serverTransportListener)
public void notifyShutdown(io.grpc.Status status)
public void notifyTerminated()
public void shutdown()
shutdown in interface io.grpc.internal.ServerTransportpublic void shutdownNow(io.grpc.Status reason)
shutdownNow in interface io.grpc.internal.ServerTransport@Nullable protected io.grpc.binder.internal.Inbound<?> createInbound(int callId)
createInbound in class BinderTransport