All Downloads are FREE. Search and download functionalities are using the official Maven repository.

akka.grpc.interop.GrpcServer.scala Maven / Gradle / Ivy

Go to download

Akka gRPC - Support for building streaming gRPC servers and clients on top of Akka Streams.

There is a newer version: 2.3.4
Show newest version
/*
 * Copyright (C) 2018-2023 Lightbend Inc. 
 */

package akka.grpc.interop

/**
 * Glue code to start a gRPC server (either akka-grpc or io.grpc) to test against
 */
abstract class GrpcServer[T] {
  @throws[Exception]
  def start(args: Array[String]): T

  def getPort(binding: T): Int

  @throws[Exception]
  def stop(binding: T): Unit
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy