#include <snmp_target_mib.h>
Public Member Functions | |
snmpTargetAddrEntry () | |
virtual | ~snmpTargetAddrEntry () |
virtual boolean | refers_to (NS_SNMP OctetStr &) |
virtual NS_SNMP Address * | get_address (MibTableRow *) |
Return the address stored in the given row of the receiver. | |
List< MibTableRow > * | get_rows_cloned_for_tag (const NS_SNMP OctetStr &) |
Return the rows that match a given tag. | |
void | set_row (MibTableRow *r, const Oidx &, const NS_SNMP OctetStr &, int, int, const NS_SNMP OctetStr &, const NS_SNMP OctetStr &, int, int) |
MibTableRow * | add_entry (const NS_SNMP OctetStr &, const Oidx &, const NS_SNMP OctetStr &, const NS_SNMP OctetStr &, const NS_SNMP OctetStr &) |
Add a new target entry to the receiver. | |
boolean | ready_for_service (Vbx *, int) |
Check if row can be set active. | |
Static Public Attributes | |
static snmpTargetAddrEntry * | instance |
A transport address to be used in the generation of SNMP operations.
Entries in the snmpTargetAddrTable are created and deleted using the snmpTargetAddrRowStatus object."
snmpTargetAddrEntry::snmpTargetAddrEntry | ( | ) |
virtual snmpTargetAddrEntry::~snmpTargetAddrEntry | ( | ) | [virtual] |
virtual boolean snmpTargetAddrEntry::refers_to | ( | NS_SNMP OctetStr & | ) | [virtual] |
virtual NS_SNMP Address* snmpTargetAddrEntry::get_address | ( | MibTableRow * | ) | [virtual] |
Return the address stored in the given row of the receiver.
row | a row of snmpTargetAddrEntry. |
List<MibTableRow>* snmpTargetAddrEntry::get_rows_cloned_for_tag | ( | const NS_SNMP OctetStr & | ) |
Return the rows that match a given tag.
The rows are cloned and the method is synchronized on the receiver.
tag | an OctetStr instance. |
void snmpTargetAddrEntry::set_row | ( | MibTableRow * | r, | |
const Oidx & | , | |||
const NS_SNMP OctetStr & | , | |||
int | , | |||
int | , | |||
const NS_SNMP OctetStr & | , | |||
const NS_SNMP OctetStr & | , | |||
int | , | |||
int | ||||
) |
MibTableRow* snmpTargetAddrEntry::add_entry | ( | const NS_SNMP OctetStr & | , | |
const Oidx & | , | |||
const NS_SNMP OctetStr & | , | |||
const NS_SNMP OctetStr & | , | |||
const NS_SNMP OctetStr & | ||||
) |
Add a new target entry to the receiver.
name | a unique identifier used to identify the new entry. | |
tdomain | specifies the transport type of the address defined by taddress. | |
taddress | specifies the target address. The format of this value depends on the tdomain value. For example, if tdomain specifies UDP (1.3.6.1.6.1.1), then this value will be a 6-byte OctetStr, where the first 4 bytes specify the IP address, and last 2 bytes specify the UDP port number. | |
taglist | a list of tag values that tie this table to both the snmpNotifyTable and the snmpProxyTable. These tags are used to identify target addresses to send notifications to and forward messages to. | |
params | identifies a row in the snmpTargetParamsTable. This in effect specifies the SNMP parameters to use when generating messages. |
boolean snmpTargetAddrEntry::ready_for_service | ( | Vbx * | , | |
int | ||||
) | [virtual] |