importanceHelper Class Reference
Deals with setting and retrieving message importance (also known as priority).
More...
List of all members.
Detailed Description
Deals with setting and retrieving message importance (also known as priority).
Basically, it wraps the use of the 'X-Priority' (non standard) and 'Importance' (RFC-1327, RFC-1911) fields.
Member Enumeration Documentation
Different levels of importance.
- Enumerator:
| IMPORTANCE_HIGHEST |
|
| IMPORTANCE_HIGH |
|
| IMPORTANCE_NORMAL |
|
| IMPORTANCE_LOW |
|
| IMPORTANCE_LOWEST |
|
Member Function Documentation
Return the importance of the specified message.
- Parameters:
-
| msg | message from which to retrieve importance |
- Returns:
- importance of the message, or default importance is no information about importance is given in the message
Return the importance of a message, given its header.
- Parameters:
-
| hdr | message header from which to retrieve importance |
- Returns:
- importance of the message, or default importance is no information about importance is given in the message
| void resetImportance |
( |
ref< message > |
msg |
) |
[static] |
Reset the importance of the message to the default importance.
- Parameters:
-
| msg | message on which to reset importance |
| void resetImportanceHeader |
( |
ref< header > |
hdr |
) |
[static] |
Reset the importance of a message to the default importance.
- Parameters:
-
| hdr | message header on which to reset importance |
Set the importance of the specified message.
- Parameters:
-
| msg | message on which to set importance |
| i | new message importance |
Set the importance of a message, given its header.
- Parameters:
-
| hdr | message header on which to set importance |
| i | new message importance |
The documentation for this class was generated from the following files: