|
| CTarget () |
| Constructor with no args. More...
|
|
| CTarget (const Address &address, const char *read_community_name, const char *write_community_name) |
| Constructor with all args. More...
|
|
| CTarget (const Address &address, const OctetStr &read_community_name, const OctetStr &write_community_name) |
| Constructor with all args. More...
|
|
| CTarget (const Address &address) |
| Constructor with only address. More...
|
|
| CTarget (const CTarget &target) |
| Constructor from existing CTarget. More...
|
|
| ~CTarget () |
| Destructor, that has nothing to do. More...
|
|
SnmpTarget * | clone () const |
| Clone operator. More...
|
|
const char * | get_readcommunity () const |
| Get the read community name. More...
|
|
void | get_readcommunity (OctetStr &oct) const |
| Get the read community name. More...
|
|
void | set_readcommunity (const char *str) |
| Set the read community name. More...
|
|
void | set_readcommunity (const OctetStr &oct) |
| Set the read community name. More...
|
|
const char * | get_writecommunity () const |
| Get the write community name. More...
|
|
void | get_writecommunity (OctetStr &oct) const |
| Get the write community name. More...
|
|
void | set_writecommunity (const char *str) |
| Set the write community name. More...
|
|
void | set_writecommunity (const OctetStr &oct) |
| Set the write community name. More...
|
|
CTarget & | operator= (const CTarget &target) |
| Overloaded assignment operator. More...
|
|
int | operator== (const CTarget &rhs) const |
| Overloeaded compare operator. More...
|
|
bool | resolve_to_C (OctetStr &read_comm, OctetStr &write_comm, GenAddress &address, unsigned long &t, int &r, unsigned char &v) const |
| Get all values of a CTarget object. More...
|
|
void | clear () |
| Reset the object. More...
|
|
| SnmpTarget () |
| Create a SnmpTarget object with default values. More...
|
|
| SnmpTarget (const Address &address) |
| Create a SnmpTarget object with the given Address. More...
|
|
virtual | ~SnmpTarget () |
| Destructor that has nothing to do. More...
|
|
target_type | get_type () const |
| Return the type of the target object. More...
|
|
bool | valid () const |
| Returns the validity of the target object. More...
|
|
void | set_retry (const int r) |
| Set the retry value. More...
|
|
int | get_retry () const |
| Get the retry value. More...
|
|
void | set_timeout (const unsigned long t) |
| Set the timeout for requests. More...
|
|
unsigned long | get_timeout () const |
| Get the timeout. More...
|
|
bool | get_address (GenAddress &address) const |
| Get the address object. More...
|
|
const GenAddress & | get_address () const |
| Get the address object. More...
|
|
virtual bool | set_address (const Address &address) |
| Set the address object. More...
|
|
snmp_version | get_version () const |
| Get the SNMP version for this target. More...
|
|
void | set_version (const snmp_version v) |
| Set the SNMP version of this target. More...
|
|
int | operator== (const SnmpTarget &rhs) const |
| Overloeaded compare operator. More...
|
|
Community based target object.
This target can be used for SNMPv1 and SNMPv2c messages.
Definition at line 280 of file target.h.