table of contents
other versions
- wheezy 1:15.b.1-dfsg-4+deb7u1
- wheezy-backports 1:17.3-dfsg-4~bpo70+1
- jessie 1:17.3-dfsg-4+deb8u1
- jessie-backports 1:19.2.1+dfsg-2~bpo8+1
- testing 1:19.2.1+dfsg-2
- unstable 1:19.2.1+dfsg-2
- experimental 1:19.3.1+dfsg-1
snmpa_notification_delivery_info_receiver(3erl) | Erlang Module Definition | snmpa_notification_delivery_info_receiver(3erl) |
NAME¶
snmpa_notification_delivery_info_receiver -Behaviour module for the SNMP agent notification delivery
information receiver.
DESCRIPTION¶
This module defines the behaviour of the notification delivery information receiver. A snmpa_notification_delivery_info_receiver compliant module must export the following functions:- *
- delivery_targets/3
- *
- delivery_info/4
DATA TYPES¶
address() = A 4-tuple
EXPORTS¶
delivery_targets(Tag, Targets, Extra) -> void()
Types:
Tag = term()
Targets = [target()]
target() = {Address, Port}
Address = address()
Port = integer()
Extra = term()
Inform about target addresses.
This is the first function called when a notification delivery is in progress.
It informs the receiver which targets will get the notification. The
result of the delivery will be provided via successive calls to
delivery_info/4 function, see below.
Types:
Tag = term()
Target = target()
target() = {Address, Port}
Address = address()
Port = integer()
DeliveryResult = delivery_result()
delivery_result() = no_response | got_response
Extra = term()
Inform about delivery result.
This function is called for each target in the Targets argument of the
delivery_targets/3 function, see above.
The purpose is to inform the receiver of the result of the delivery (was
the notification acknowledged or not) for each target.
snmp 4.22 | Ericsson AB |