|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectthings.data.transport.smtp.DSN
public class DSN
Represents a DSN feature.
For textual representation in the format RET`ENVID`ORCPT`bS`bF`bD`bN
This: MAIL FROM:RET=HDRS ENVID=QQ123456 250 Sender ok RCPT TO: NOTIFY=SUCCESS,DELAY ORCPT=rfc822;vadrick@things.gatejen.org 250 Recipient ok Would become: HDRS`QQ123456`vadrick@things.gatejen.org`TRUE`f`f`f Fields: RET = Return type. ENVID = Correlation id. ORCPT = Original recipient bS = if 'TRUE,', request SUCCESS notification. Any other value is ignored. bF = if 'TRUE,', request FAILURE notification. Any other value is ignored. bD = if 'TRUE,', request DELAY notification. Any other value is ignored. bN = if 'TRUE,', request that you NEVER get notification. Any other value is ignored.
Version History
EPG - Added by request - 1 JUN 09
Field Summary | |
---|---|
java.lang.String |
ENVID
|
boolean |
notifyDelay
|
boolean |
notifyFailure
|
boolean |
notifyNever
|
boolean |
notifySuccess
|
java.lang.String |
ORCPT
|
java.lang.String |
RET
|
Constructor Summary | |
---|---|
DSN()
|
Method Summary | |
---|---|
static DSN |
parse(java.lang.String dsn)
DSN as a comma separated field: RET`ENVID`ORCPT`bS`bF`bD`bN |
java.lang.String |
renderFrom()
Render the DSN command. |
java.lang.String |
renderRecipient()
Render the DSN command. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String RET
public java.lang.String ENVID
public java.lang.String ORCPT
public boolean notifySuccess
public boolean notifyFailure
public boolean notifyDelay
public boolean notifyNever
Constructor Detail |
---|
public DSN()
Method Detail |
---|
public static DSN parse(java.lang.String dsn) throws java.lang.Throwable
dsn
- the textual DSN.
java.lang.Throwable
- for any format problems.public java.lang.String renderFrom()
public java.lang.String renderRecipient()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |