public abstract class ChunksDrainer extends java.lang.Object implements IParsedChunksDrainer, org.vertx.java.core.Handler<org.vertx.java.core.buffer.Buffer>
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger |
protected long |
reqId |
protected IRecordParser |
rp |
Constructor and Description |
---|
ChunksDrainer(java.lang.String logPrefix,
org.vertx.java.core.net.NetSocket toResume) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
flush() |
void |
handle(org.vertx.java.core.buffer.Buffer b) |
protected abstract void |
handleRecord(io.netty.buffer.ByteBuf buf,
boolean literal,
boolean followedByLiteral) |
boolean |
isBusy() |
void |
lastChunk() |
void |
newChunk(ImapChunk qb) |
void |
setBusy(boolean busy) |
void |
setBusy(boolean busy,
java.lang.String cause) |
protected void |
setFlushing(boolean f) |
protected final org.slf4j.Logger logger
protected final IRecordParser rp
protected long reqId
public ChunksDrainer(java.lang.String logPrefix, org.vertx.java.core.net.NetSocket toResume)
public final boolean isBusy()
public final void setBusy(boolean busy)
public final void setBusy(boolean busy, java.lang.String cause)
protected void setFlushing(boolean f)
public final void handle(org.vertx.java.core.buffer.Buffer b)
handle
in interface org.vertx.java.core.Handler<org.vertx.java.core.buffer.Buffer>
protected abstract void handleRecord(io.netty.buffer.ByteBuf buf, boolean literal, boolean followedByLiteral)
protected abstract void flush()
public final void newChunk(ImapChunk qb)
newChunk
in interface IParsedChunksDrainer
public final void lastChunk()
lastChunk
in interface IParsedChunksDrainer
Copyright © 2021. All Rights Reserved.