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

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

/*
 * 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 - 2025 Weber Informatics LLC | Privacy Policy