Class OpenTelemetryTracingModule.ContextServerCallListener<ReqT>

java.lang.Object
io.grpc.ServerCall.Listener<ReqT>
io.grpc.ForwardingServerCallListener<ReqT>
io.grpc.ForwardingServerCallListener.SimpleForwardingServerCallListener<ReqT>
io.grpc.opentelemetry.OpenTelemetryTracingModule.ContextServerCallListener<ReqT>
Enclosing class:
OpenTelemetryTracingModule

private static class OpenTelemetryTracingModule.ContextServerCallListener<ReqT> extends io.grpc.ForwardingServerCallListener.SimpleForwardingServerCallListener<ReqT>
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.grpc.ForwardingServerCallListener

    io.grpc.ForwardingServerCallListener.SimpleForwardingServerCallListener<ReqT>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final io.opentelemetry.context.Context
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    ContextServerCallListener(io.grpc.ServerCall.Listener<ReqT> delegate, io.opentelemetry.context.Context context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    void
     
    void
    onMessage(ReqT message)
     
    void
     
     

    Methods inherited from class io.grpc.ForwardingServerCallListener.SimpleForwardingServerCallListener

    delegate

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • context

      private final io.opentelemetry.context.Context context
  • Constructor Details

    • ContextServerCallListener

      protected ContextServerCallListener(io.grpc.ServerCall.Listener<ReqT> delegate, io.opentelemetry.context.Context context)
  • Method Details

    • onMessage

      public void onMessage(ReqT message)
      Overrides:
      onMessage in class io.grpc.ForwardingServerCallListener<ReqT>
    • onHalfClose

      public void onHalfClose()
    • onCancel

      public void onCancel()
    • onComplete

      public void onComplete()
    • onReady

      public void onReady()
    • toString

      public String toString()
      Overrides:
      toString in class Object