Package 

Class BinderTransport.BinderServerTransport

  • All Implemented Interfaces:
    android.os.IBinder.DeathRecipient , io.grpc.InternalInstrumented , io.grpc.InternalWithLogId , io.grpc.binder.internal.LeakSafeOneWayBinder.TransactionHandler , io.grpc.internal.ServerTransport

    @Internal() 
    public final class BinderTransport.BinderServerTransport
    extends BinderTransport implements ServerTransport
                        

    Concrete server-side transport implementation.

    • Method Summary

      Modifier and Type Method Description
      synchronized void setServerTransportListener(ServerTransportListener serverTransportListener)
      void notifyShutdown(Status status)
      void notifyTerminated()
      synchronized void shutdown()
      synchronized void shutdownNow(Status reason)
      • Methods inherited from class io.grpc.binder.internal.BinderTransport

        binderDied, getAttributes, getLogId, getScheduledExecutorService, getStats, handleTransaction
      • Methods inherited from class io.grpc.binder.internal.LeakSafeOneWayBinder.TransactionHandler

        handleTransaction
      • Methods inherited from class android.os.IBinder.DeathRecipient

        binderDied
      • Methods inherited from class io.grpc.internal.ServerTransport

        getScheduledExecutorService, shutdown, shutdownNow
      • Methods inherited from class io.grpc.InternalInstrumented

        getStats
      • Methods inherited from class io.grpc.InternalWithLogId

        getLogId
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BinderTransport.BinderServerTransport

        BinderTransport.BinderServerTransport(ObjectPool<ScheduledExecutorService> executorServicePool, Attributes attributes, List<ServerStreamTracer.Factory> streamTracerFactories, OneWayBinderProxy.Decorator binderDecorator, IBinder callbackBinder)
        Constructs a new transport instance.
        Parameters:
        binderDecorator - used to decorate 'callbackBinder', for fault injection.