snmpTargetAddrParams Class Reference

snmpTargetAddrTimeout More...

#include <snmp_target_mib.h>

Inheritance diagram for snmpTargetAddrParams:

MibLeaf MibEntry ThreadManager Synchronized

List of all members.

Public Member Functions

 snmpTargetAddrParams (const Oidx &)
virtual ~snmpTargetAddrParams ()
virtual MibEntryPtr clone ()
 Clone the receiver object.
virtual int prepare_set_request (Request *, int &)
 Let the receiver prepare a SNMP SET subrequest.
virtual boolean value_ok (const Vbx &)
 Check whether the receiver's value may be set to the given new value.


Detailed Description

snmpTargetAddrTimeout

"This object should reflect the expected maximum round trip time for communicating with the transport address defined by this row. When a message is sent to this address, and a response (if one is expected) is not received within this time period, an implementation may assume that the response will not be delivered.

Note that the time interval that an application waits for a response may actually be derived from the value of this object. The method for deriving the actual time interval is implementation dependent. One such method is to derive the expected round trip time based on a particular retransmission algorithm and on the number of timeouts which have occurred. The type of message may also be considered when deriving expected round trip times for retransmissions. For example, if a message is being sent with a securityLevel that indicates both authentication and privacy, the derived value may be increased to compensate for extra processing time spent during authentication and encryption processing." snmpTargetAddrRetryCount"This object specifies a default number of retries to be attempted when a response is not received for a generated message. An application may provide its own retry count, in which case the value of this object is ignored." snmpTargetAddrParams"The value of this object identifies an entry in the snmpTargetParamsTable. The identified entry contains SNMP parameters to be used when generating messages to be sent to this transport address."


Constructor & Destructor Documentation

snmpTargetAddrParams::snmpTargetAddrParams ( const Oidx  ) 

virtual snmpTargetAddrParams::~snmpTargetAddrParams (  )  [virtual]


Member Function Documentation

virtual MibEntryPtr snmpTargetAddrParams::clone (  )  [virtual]

Clone the receiver object.

Returns:
A pointer to the clone.

Reimplemented from MibLeaf.

virtual int snmpTargetAddrParams::prepare_set_request ( Request ,
int &   
) [virtual]

Let the receiver prepare a SNMP SET subrequest.

Parameters:
req - A pointer to the whole SNMP SET request.
ind - The index of the subrequest to be processed.
Returns:
SNMP_ERROR_SUCCESS on success and SNMP_ERROR_WRONG_VALUE, SNMP_ERROR_WRONG_TYPE, or SNMP_ERROR_NOT_WRITEABLE on failure.

Reimplemented from MibLeaf.

virtual boolean snmpTargetAddrParams::value_ok ( const Vbx  )  [virtual]

Check whether the receiver's value may be set to the given new value.

Note:
Override this mehtod in subclasses.
Parameters:
v - A new value.
Returns:
TRUE if the new value is valid, otherwise FALSE.

Reimplemented from MibLeaf.


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

Generated on Fri May 29 22:36:55 2009 for AGENT++ by  doxygen 1.5.6