Class Subscription

java.lang.Object
io.github.kaktushose.jdac.introspection.lifecycle.Subscription

public final class Subscription extends Object
The Subscription representing a single subscription to a certain event. Each call to Introspection.subscribe(Class, Subscriber) returns a new instance of this class.
  • Constructor Details

  • Method Details

    • unsubscribe

      public void unsubscribe()
      Terminates (unsubscribes) this Subscription. The associated Subscriber won't be called in the future.