Final action

From Halon Security
Jump to: navigation, search

HSL contains context-specific functions for processes such as mail content, mail transport, IP policy, etc. One example is Allow() for IP Policy flows, and Deliver() for Mail Content flows. These are so-called final actions.

A final action perform an action on a message/packet/request that makes it unable to accept any further actions. For example; if a mail message is being delivered, performing further processing of it doesn't make sense. Therefore, the script will terminate when a final action is being executed. In other programming languages, this is referred to as "return".

Example

The following mail script will terminate on Deliver(), and never reach Delete().

Deliver();
// code below will never be executed
Delete();
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox