Package com.isode.x400.highlevel
Enum X400Msg.DR_Request
- java.lang.Object
-
- java.lang.Enum<X400Msg.DR_Request>
-
- com.isode.x400.highlevel.X400Msg.DR_Request
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<X400Msg.DR_Request>
- Enclosing class:
- X400Msg
public static enum X400Msg.DR_Request extends java.lang.Enum<X400Msg.DR_Request>
The originator or a message can request the MTA to generate a delivery report for a particular recipient. The requests are per-recipient, and they don't have to be all the same.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUDITED_REPORT
Request the MTA to generate an Audited Delivery Report in every case, both when the message is delivered, this recipient, and also when it's not delivered to this recipientDR_DELIVERY_REPORT
Request the MTA to generate a Delivery Report in every case, both when the message is delivered, this recipient, and also when it's not delivered to this recipientDR_NO_REPORT
Request the MTA never to generate a Delivery Report, even when the message is not delivered to this recipientDR_NON_DELIVERY_REPORT
Request the MTA to generate a Delivery Report only when the message is not delivered to this recipient
-
Field Summary
Fields Modifier and Type Field Description int
dr
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static X400Msg.DR_Request
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static X400Msg.DR_Request[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DR_NO_REPORT
public static final X400Msg.DR_Request DR_NO_REPORT
Request the MTA never to generate a Delivery Report, even when the message is not delivered to this recipient
-
DR_NON_DELIVERY_REPORT
public static final X400Msg.DR_Request DR_NON_DELIVERY_REPORT
Request the MTA to generate a Delivery Report only when the message is not delivered to this recipient
-
DR_DELIVERY_REPORT
public static final X400Msg.DR_Request DR_DELIVERY_REPORT
Request the MTA to generate a Delivery Report in every case, both when the message is delivered, this recipient, and also when it's not delivered to this recipient
-
AUDITED_REPORT
public static final X400Msg.DR_Request AUDITED_REPORT
Request the MTA to generate an Audited Delivery Report in every case, both when the message is delivered, this recipient, and also when it's not delivered to this recipient
-
-
Method Detail
-
values
public static X400Msg.DR_Request[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (X400Msg.DR_Request c : X400Msg.DR_Request.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static X400Msg.DR_Request valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-