package grpc

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. class ApiRequestLogger extends ServerInterceptor with NamedLogging

    Server side interceptor that logs incoming and outgoing traffic.

    Server side interceptor that logs incoming and outgoing traffic.

    Annotations
    @SuppressWarnings()
  2. class CantonCommunityServerInterceptors extends CantonServerInterceptors
  3. class CantonEnterpriseServerInterceptors extends CantonCommunityServerInterceptors
  4. trait CantonMutableHandlerRegistry extends AutoCloseable
  5. trait CantonServerBuilder extends AnyRef

    The io.grpc.ServerBuilder is pretty "loose" with its type parameters causing some issues for scalac and IntelliJ.

    The io.grpc.ServerBuilder is pretty "loose" with its type parameters causing some issues for scalac and IntelliJ. Here we provide a wrapper hiding these type issues.

  6. trait CantonServerInterceptors extends AnyRef
  7. trait ClientChannelBuilder extends AnyRef

    Construct a GRPC channel to be used by a client within canton.

  8. trait ClientChannelBuilderFactory extends (NamedLoggerFactory) => ClientChannelBuilder
  9. class CommunityClientChannelBuilder extends ClientChannelBuilder with NamedLogging with NoTracing

    Supports creating GRPC channels but only supports a single host.

    Supports creating GRPC channels but only supports a single host. If multiple endpoints are provided a warning will be logged and the first supplied will be used.

  10. class ConcurrencyLimitMetricsRegistry extends MetricRegistry with NamedLogging with NoTracing
  11. class EnterpriseClientChannelBuilder extends ClientChannelBuilder with NamedLogging

    CantonClientBuilder that supports using round-robin load balanced connections.

  12. abstract class ErrorLoggingStreamObserver[R] extends StreamObserver[R]
  13. class ForwardingStreamObserver[A, B] extends StreamObserver[A]

    Stream observer that will forward all received values, errors and completions to another observer, mapping values to a different type.

  14. class GrpcDynamicService extends NamedLogging

    Stand up a gRPC service stub which will direct to an instance set dynamically at runtime if available, or return a UNAVAILBLE status if not set.

    Stand up a gRPC service stub which will direct to an instance set dynamically at runtime if available, or return a UNAVAILBLE status if not set.

    Use setInstance and clear to update the backing service instance.

    There will be a performance penalty as the method on the backing service is looked up on each call, however this is likely fine for services that are rarely used like admin commands.

    Currently intentionally works with typeless io.grpc.ServiceDescriptor instances to allow use with stubs generated by StaticGrpcServices. Validation could be added to ensure full names of services and methods match.

  15. sealed trait GrpcError extends AnyRef
  16. class MultiHostNameResolver extends NameResolver

    A NameResolver that will perform DNS lookup for each of the provided hosts and aggregate the results into a single resolution result.

  17. class MultiHostNameResolverProvider extends NameResolverProvider
  18. class RecordingStreamObserver[RespT] extends StreamObserver[RespT]

    Stream observer that records all incoming events.

Value Members

  1. object CantonGrpcUtil
  2. object CantonServerBuilder
  3. object ClientChannelBuilder
  4. object CommunityClientChannelBuilder extends ClientChannelBuilderFactory
  5. object EnterpriseClientChannelBuilder extends ClientChannelBuilderFactory
  6. object GrpcError
  7. object MultiHostNameResolverProvider
  8. object StaticGrpcServices

    Stubbed GRPC services to provide simple responses rather than a typical full implementation.

Ungrouped