public class SimpleSubscriber extends Object implements org.reactivestreams.Subscriber<ByteBuffer>
| Constructor and Description | 
|---|
SimpleSubscriber(Consumer<ByteBuffer> consumer)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
onComplete()  | 
void | 
onError(Throwable t)  | 
void | 
onNext(ByteBuffer byteBuffer)  | 
void | 
onSubscribe(org.reactivestreams.Subscription s)  | 
public SimpleSubscriber(Consumer<ByteBuffer> consumer)
public void onSubscribe(org.reactivestreams.Subscription s)
onSubscribe in interface org.reactivestreams.Subscriber<ByteBuffer>public void onNext(ByteBuffer byteBuffer)
onNext in interface org.reactivestreams.Subscriber<ByteBuffer>public void onError(Throwable t)
onError in interface org.reactivestreams.Subscriber<ByteBuffer>public void onComplete()
onComplete in interface org.reactivestreams.Subscriber<ByteBuffer>Copyright © 2017. All rights reserved.