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) |
io.vertx.core.Future<java.lang.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) |
io.vertx.core.Future<java.lang.Void> |
write(ImapChunker.ImapChunk data) |
void |
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 io.vertx.core.Future<java.lang.Void> write(ImapChunker.ImapChunk data)
write
in interface io.vertx.core.streams.WriteStream<ImapChunker.ImapChunk>
public void 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 io.vertx.core.Future<java.lang.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 © 2023. All Rights Reserved.