com.hs.mail.smtp.spool
Interface Consumer

All Known Implementing Classes:
SmtpMessageConsumer

public interface Consumer

Since:
Jun 3, 2010
Author:
Won Chul Doh

Field Summary
static int CONSUME_ERROR_FAIL
           
static int CONSUME_ERROR_KEEP
           
static int CONSUME_ERROR_MOVE
           
static int CONSUME_SUCCEEDED
           
 
Method Summary
 int consume(Watcher watcher, Object stuffs)
           
 

Field Detail

CONSUME_SUCCEEDED

static final int CONSUME_SUCCEEDED
See Also:
Constant Field Values

CONSUME_ERROR_FAIL

static final int CONSUME_ERROR_FAIL
See Also:
Constant Field Values

CONSUME_ERROR_KEEP

static final int CONSUME_ERROR_KEEP
See Also:
Constant Field Values

CONSUME_ERROR_MOVE

static final int CONSUME_ERROR_MOVE
See Also:
Constant Field Values
Method Detail

consume

int consume(Watcher watcher,
            Object stuffs)


Copyright © 2011. All Rights Reserved.