wvlet.airframe.http.grpc

Members list

Concise view

Type members

Classlikes

class GrpcClient(channel: Channel, config: GrpcClientConfig)

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
object GrpcClient extends LogSupport

Attributes

Companion:
class
Graph
Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Self type
object GrpcClientCalls extends LogSupport

Helper methods for making gRPC calls. This code is used in generated grpc clients.

Helper methods for making gRPC calls. This code is used in generated grpc clients.

Attributes

Graph
Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Self type
case class GrpcClientConfig(rpcEncoding: RPCEncoding, callOptions: CallOptions)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class GrpcContext(authority: Option[String], attributes: Attributes, metadata: Metadata, descriptor: MethodDescriptor[_, _]) extends RPCContext with LogSupport

Attributes

Companion:
object
Graph
Supertypes
trait Product
trait Equals
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
trait RPCContext
class Object
trait Matchable
class Any
case class GrpcMethod[Req, Resp](descriptor: MethodDescriptor[Array[Byte], Resp], requestCodec: MessageCodec[Req])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object GrpcRequestMarshaller extends Marshaller[MsgPack] with LogSupport

Attributes

Graph
Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
trait Marshaller[MsgPack]
class Object
trait Matchable
class Any
Self type
case class GrpcResponse(value: Any, encoding: RPCEncoding)

This class wraps the response value with encoding method information

This class wraps the response value with encoding method information

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
class GrpcResponseMarshaller[A](codec: MessageCodec[A]) extends Marshaller[Any] with LogSupport

Attributes

Graph
Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
trait Marshaller[Any]
class Object
trait Matchable
class Any
class GrpcServer(grpcService: GrpcService, server: Server) extends AutoCloseable with LogSupport

Attributes

Companion:
object
Graph
Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
trait AutoCloseable
class Object
trait Matchable
class Any
object GrpcServer

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
case class GrpcServerConfig(name: String, serverPort: Option[Int], router: Router, interceptors: Seq[ServerInterceptor], serverInitializer: ServerBuilder[_] => ServerBuilder[_], executorProvider: GrpcServerConfig => ExecutorService, maxThreads: Int, codecFactory: MessageCodecFactory, requestLoggerProvider: GrpcServerConfig => GrpcRequestLogger) extends LogSupport

Attributes

Graph
Supertypes
trait Product
trait Equals
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
class GrpcServerFactory(session: Session) extends AutoCloseable with LogSupport

GrpcServerFactory manages

GrpcServerFactory manages

Attributes

Graph
Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
trait AutoCloseable
class Object
trait Matchable
class Any
case class GrpcService(config: GrpcServerConfig, executorService: ExecutorService, requestLogger: GrpcRequestLogger, serviceDefinitions: Seq[ServerServiceDefinition]) extends AutoCloseable with LogSupport

GrpcService is a holder of the thread executor and service definitions for running gRPC servers

GrpcService is a holder of the thread executor and service definitions for running gRPC servers

Attributes

Graph
Supertypes
trait Product
trait Equals
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
trait AutoCloseable
class Object
trait Matchable
class Any
object gRPC

The entrypoint to start creating gRPC servers.

The entrypoint to start creating gRPC servers.

We use gRPC object name (instead of Grpc) to avoid the conflict with io.grpc.Grpc. Scala 2.13 often complains about such naming conflicts

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
gRPC.type