public class ImapChunkProcessor extends java.lang.Object implements io.vertx.core.streams.WriteStream<ImapChunker.ImapChunk>
Constructor and Description |
---|
ImapChunkProcessor() |
Modifier and Type | Method and Description |
---|---|
ImapChunkProcessor |
drainHandler(io.vertx.core.Handler<java.lang.Void> handler) |
void |
end() |
void |
end(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>> handler) |
ImapChunkProcessor |
exceptionHandler(io.vertx.core.Handler<java.lang.Throwable> handler) |
void |
setDelegate(IProcessorDelegate del) |
ImapChunkProcessor |
setWriteQueueMaxSize(int maxSize) |
ImapChunkProcessor |
write(ImapChunker.ImapChunk data) |
ImapChunkProcessor |
write(ImapChunker.ImapChunk data,
io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>> handler) |
boolean |
writeQueueFull() |
public void setDelegate(IProcessorDelegate del)
public ImapChunkProcessor exceptionHandler(io.vertx.core.Handler<java.lang.Throwable> handler)
exceptionHandler
in interface io.vertx.core.streams.StreamBase
exceptionHandler
in interface io.vertx.core.streams.WriteStream<ImapChunker.ImapChunk>
public ImapChunkProcessor write(ImapChunker.ImapChunk data)
write
in interface io.vertx.core.streams.WriteStream<ImapChunker.ImapChunk>
public ImapChunkProcessor write(ImapChunker.ImapChunk data, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>> handler)
write
in interface io.vertx.core.streams.WriteStream<ImapChunker.ImapChunk>
public void end()
end
in interface io.vertx.core.streams.WriteStream<ImapChunker.ImapChunk>
public void end(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>> handler)
end
in interface io.vertx.core.streams.WriteStream<ImapChunker.ImapChunk>
public ImapChunkProcessor setWriteQueueMaxSize(int maxSize)
setWriteQueueMaxSize
in interface io.vertx.core.streams.WriteStream<ImapChunker.ImapChunk>
public boolean writeQueueFull()
writeQueueFull
in interface io.vertx.core.streams.WriteStream<ImapChunker.ImapChunk>
public ImapChunkProcessor drainHandler(io.vertx.core.Handler<java.lang.Void> handler)
drainHandler
in interface io.vertx.core.streams.WriteStream<ImapChunker.ImapChunk>
Copyright © 2021. All Rights Reserved.