| org.snmp4j.agent.NotificationOriginator
All known Subclasses: org.snmp4j.agent.agentx.subagent.AgentXSubagent, org.snmp4j.agent.mo.snmp.NotificationOriginatorImpl, org.snmp4j.agent.CommandProcessor,
NotificationOriginator | public interface NotificationOriginator (Code) | | The NotificationOriginator specifies the interface for
classes providing notification sending.
See also RFC 3411 for a description of notification originators.
author: Frank Fock version: 1.0 |
Method Summary | |
Object | notify(OctetString context, OID notificationID, VariableBinding[] vbs) Sends notifications (traps) to all appropriate notification targets.
The targets to notify are determined through the SNMP-TARGET-MIB and
the SNMP-NOTIFICATION-MIB.
Parameters: context - the context name of the context on whose behalf this notification hasbeen generated. Parameters: notificationID - the object ID that uniquely identifies this notification. | Object | notify(OctetString context, OID notificationID, TimeTicks sysUpTime, VariableBinding[] vbs) Sends notifications (traps) to all appropriate notification targets.
The targets to notify are determined through the SNMP-TARGET-MIB and
the SNMP-NOTIFICATION-MIB.
Parameters: context - the context name of the context on whose behalf this notification hasbeen generated. Parameters: notificationID - the object ID that uniquely identifies this notification. |
notify | Object notify(OctetString context, OID notificationID, VariableBinding[] vbs)(Code) | | Sends notifications (traps) to all appropriate notification targets.
The targets to notify are determined through the SNMP-TARGET-MIB and
the SNMP-NOTIFICATION-MIB.
Parameters: context - the context name of the context on whose behalf this notification hasbeen generated. Parameters: notificationID - the object ID that uniquely identifies this notification. For SNMPv1traps, the notification ID has to be build using the rules providedby RFC 2576. Parameters: vbs - an array of VariableBinding instances representing thepayload of the notification.an array of ResponseEvent instances. Since theNotificationOriginator determines on behalf of theSNMP-NOTIFICTON-MIB contents whether a notification is sent astrap/notification or as inform request, the returned array containsan element for each addressed target, but only a response PDU forinform targets. |
notify | Object notify(OctetString context, OID notificationID, TimeTicks sysUpTime, VariableBinding[] vbs)(Code) | | Sends notifications (traps) to all appropriate notification targets.
The targets to notify are determined through the SNMP-TARGET-MIB and
the SNMP-NOTIFICATION-MIB.
Parameters: context - the context name of the context on whose behalf this notification hasbeen generated. Parameters: notificationID - the object ID that uniquely identifies this notification. For SNMPv1traps, the notification ID has to be build using the rules providedby RFC 2576. Parameters: sysUpTime - the value of the sysUpTime for the context context . Thisvalue will be included in the generated notification assysUpTime.0 . Parameters: vbs - an array of VariableBinding instances representing thepayload of the notification.an array of ResponseEvent instances. Since theNotificationOriginator determines on behalf of theSNMP-NOTIFICTON-MIB contents whether a notification is sent astrap/notification or as inform request, the returned array containsan element for each addressed target, but only a response PDU forinform targets. |
|
|