java.lang.Object
io.github.qsy7.examples.platform.java8.streams.prototype.TestSubscriber
All Implemented Interfaces:
org.reactivestreams.Subscriber<String>

public class TestSubscriber extends Object implements org.reactivestreams.Subscriber<String>
  • Constructor Details

    • TestSubscriber

      public TestSubscriber()
  • Method Details

    • onSubscribe

      public void onSubscribe(org.reactivestreams.Subscription s)
      Specified by:
      onSubscribe in interface org.reactivestreams.Subscriber<String>
    • onNext

      public void onNext(String s)
      Specified by:
      onNext in interface org.reactivestreams.Subscriber<String>
    • onError

      public void onError(Throwable t)
      Specified by:
      onError in interface org.reactivestreams.Subscriber<String>
    • onComplete

      public void onComplete()
      Specified by:
      onComplete in interface org.reactivestreams.Subscriber<String>