public abstract class TransferReceiver extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ContentDecoder |
decoder |
protected MimeMessage |
mime |
| Constructor and Description |
|---|
TransferReceiver(MimeMessage mime,
ContentDecoder decoder)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract net.lecousin.framework.concurrent.synch.AsyncWork<Boolean,IOException> |
consume(ByteBuffer buf)
the returned work is true if the end has been reached.
|
abstract boolean |
isExpectingData()
Return true if the transfer is not expected to be empty.
|
protected MimeMessage mime
protected ContentDecoder decoder
public TransferReceiver(MimeMessage mime, ContentDecoder decoder)
public abstract net.lecousin.framework.concurrent.synch.AsyncWork<Boolean,IOException> consume(ByteBuffer buf)
public abstract boolean isExpectingData()
Copyright © 2018. All rights reserved.