snmpTargetAddrEntry Class Reference

snmpTargetAddrEntry More...

#include <snmp_target_mib.h>

Inheritance diagram for snmpTargetAddrEntry:

StorageTable MibTable MibEntry MibTableVoter ThreadManager Synchronized

List of all members.

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)
MibTableRowadd_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 snmpTargetAddrEntryinstance


Detailed Description

snmpTargetAddrEntry

A transport address to be used in the generation of SNMP operations.

Entries in the snmpTargetAddrTable are created and deleted using the snmpTargetAddrRowStatus object."

Version:
3.5.16

Constructor & Destructor Documentation

snmpTargetAddrEntry::snmpTargetAddrEntry (  ) 

virtual snmpTargetAddrEntry::~snmpTargetAddrEntry (  )  [virtual]


Member Function Documentation

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.

Note:
Don't use other rows! This method is not synchronized!
Parameters:
row a row of snmpTargetAddrEntry.
Returns:
a pointer to an Address instance or 0 if the domain of row is not supported.

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.

Parameters:
tag an OctetStr instance.
Returns:
a (possibly empty) list of rows.

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.

Parameters:
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.
Returns:
the created row or 0 if a row with name already exists.

boolean snmpTargetAddrEntry::ready_for_service ( Vbx ,
int   
) [virtual]

Check if row can be set active.

Reimplemented from MibTable.


Member Data Documentation


The documentation for this class was generated from the following file:

Generated on Thu Sep 2 01:19:43 2010 for AGENT++ by  doxygen 1.5.6