Package io.grpc

Interface Context.CancellationListener

Enclosing class:
Context

public static interface Context.CancellationListener
A listener notified on context cancellation.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cancelled(Context context)
    Notifies that a context was cancelled.
  • Method Details

    • cancelled

      void cancelled(Context context)
      Notifies that a context was cancelled.
      Parameters:
      context - the newly cancelled context.