1snmpa_notification_delivery_Eirnlfaon_greMsconedmiupvlaee_rn(Do3et)fiifniictaitoinon_delivery_info_receiver(3)
2
3
4

NAME

6       snmpa_notification_delivery_info_receiver -
7           Behaviour module for the SNMP agent notification delivery
8           information receiver.
9
10

DESCRIPTION

12       This module defines the behaviour of the notification delivery informa‐
13       tion receiver.
14
15       A snmpa_notification_delivery_info_receiver compliant module  must  ex‐
16       port the following functions:
17
18         * delivery_targets/3
19
20         * delivery_info/4
21
22       The semantics of them and their exact signatures are explained below.
23
24       Legacy notification delivery information receiver modules used a target
25       argument on the form {IpAddr, PortNumber} instead  of  {Domain,  Addr},
26       and  if the SNMP Agent is run without changing the configuration to use
27       transport domains the notification delivery information  receiver  will
28       still get the old arguments and work as before.
29

DATA TYPES

31       See the  data types in snmpa_conf.
32

EXPORTS

34       delivery_targets(Tag, Targets, Extra) -> void()
35
36              Types:
37
38                 Tag = term()
39                 Targets = [Target]
40                 Target = {transportDomain(), transportAddressWithPort()
41                 Extra = term()
42
43              Inform about target addresses.
44
45              This  is  the first function called when a notification delivery
46              is in progress. It informs the receiver which targets  will  get
47              the  notification.  The  result of the delivery will be provided
48              via successive calls to delivery_info/4 function, see below.
49
50       delivery_info(Tag, Target, DeliveryResult, Extra) -> void()
51
52              Types:
53
54                 Tag = term()
55                 Targets = [Target]
56                 Target = {transportDomain(), transportAddressWithPort()
57                 DeliveryResult = delivery_result()
58                 delivery_result() = no_response | got_response
59                 Extra = term()
60
61              Inform about delivery result.
62
63              This function is called for each target in the Targets  argument
64              of the delivery_targets/3 function, see above.
65
66              The  purpose  is to inform the receiver of the result of the de‐
67              livery (was the notification acknowledged or not) for each  tar‐
68              get.
69
70
71
72Ericsson AB                       ssnnmmppa_5n.o1t2ification_delivery_info_receiver(3)
Impressum