public abstract class GenericObjectStream<T> extends java.lang.Object implements org.vertx.java.core.streams.ReadStream<GenericObjectStream<T>>
Constructor and Description |
---|
GenericObjectStream() |
Modifier and Type | Method and Description |
---|---|
GenericObjectStream<T> |
dataHandler(org.vertx.java.core.Handler<org.vertx.java.core.buffer.Buffer> dataHandler) |
GenericObjectStream<T> |
endHandler(org.vertx.java.core.Handler<java.lang.Void> endHandler) |
GenericObjectStream<T> |
exceptionHandler(org.vertx.java.core.Handler<java.lang.Throwable> exceptionHandler) |
protected abstract T |
next() |
GenericObjectStream<T> |
pause() |
GenericObjectStream<T> |
resume() |
protected abstract org.vertx.java.core.buffer.Buffer |
serialize(T n) |
public GenericObjectStream<T> dataHandler(org.vertx.java.core.Handler<org.vertx.java.core.buffer.Buffer> dataHandler)
dataHandler
in interface org.vertx.java.core.streams.ReadSupport<GenericObjectStream<T>,org.vertx.java.core.buffer.Buffer>
public GenericObjectStream<T> pause()
pause
in interface org.vertx.java.core.streams.ReadSupport<GenericObjectStream<T>,org.vertx.java.core.buffer.Buffer>
public GenericObjectStream<T> resume()
resume
in interface org.vertx.java.core.streams.ReadSupport<GenericObjectStream<T>,org.vertx.java.core.buffer.Buffer>
public GenericObjectStream<T> exceptionHandler(org.vertx.java.core.Handler<java.lang.Throwable> exceptionHandler)
exceptionHandler
in interface org.vertx.java.core.streams.ExceptionSupport<GenericObjectStream<T>>
public GenericObjectStream<T> endHandler(org.vertx.java.core.Handler<java.lang.Void> endHandler)
endHandler
in interface org.vertx.java.core.streams.ReadStream<GenericObjectStream<T>>
protected abstract org.vertx.java.core.buffer.Buffer serialize(T n) throws java.lang.Exception
java.lang.Exception
protected abstract T next() throws java.lang.Exception
java.lang.Exception
Copyright © 2021. All Rights Reserved.