|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface SmarterMessageListener.Receiver
Interface which accepts delivery of a message.
| Method Summary | |
|---|---|
void |
deliver(java.io.InputStream data)
When message data arrives, this method will be called for every recipient this listener accepted. |
void |
done()
Called at the end of the SMTP exchange, even if no data was delivered. |
| Method Detail |
|---|
void deliver(java.io.InputStream data)
throws TooMuchDataException,
java.io.IOException
data - will be the smtp data stream, stripped of any extra '.' chars. The
data stream is only valid for the duration of this call.
TooMuchDataException - if the listener can't handle that much data.
An error will be reported to the client.
java.io.IOException - if there is an IO error reading the input data.void done()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||