A set of rules integrated into programs, based on which the programs process any messages that the application receives.