public class JilterProcessor
extends java.lang.Object
JilterHandler, as well as sending
data back to the MTA via an arbitrary WritableByteChannel.| Constructor and Description |
|---|
JilterProcessor(JilterHandler handler)
Public constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this processor.
|
boolean |
process(java.nio.channels.WritableByteChannel writeChannel,
java.nio.ByteBuffer dataBuffer)
Process more data from the MTA.
|
public JilterProcessor(JilterHandler handler)
handler - the underlying handler that will receive calls based on the
Milter conversation.public boolean process(java.nio.channels.WritableByteChannel writeChannel,
java.nio.ByteBuffer dataBuffer)
throws java.io.IOException
writeChannel - the data channel for communicating back to the MTA.dataBuffer - the next chunk of data from the MTA.false if processing is completed.java.io.IOExceptionpublic void close()
Copyright © 2024. All Rights Reserved.