t

akka.grpc.scaladsl

AkkaGrpcClient

trait AkkaGrpcClient extends AnyRef

Common trait of all generated Akka gRPC clients. Not for user extension.

Annotations
@DoNotInherit()
Source
AkkaGrpcClient.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AkkaGrpcClient
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def close(): Future[Done]

    Initiates a shutdown in which preexisting and new calls are cancelled.

    Initiates a shutdown in which preexisting and new calls are cancelled.

    This method is only valid for clients that use an internal channel. If the client was created with a shared user-provided channel, the channel itself should be closed.

    Exceptions thrown

    akka.grpc.GrpcClientCloseException if client was created with a user-provided akka.grpc.GrpcChannel.

  2. abstract def closed: Future[Done]

    A Future that completes successfully when shutdown via close() or exceptionally if a connection can not be established or reestablished after maxConnectionAttempts.