|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.adventnet.snmp.snmp2.SnmpTargetAddrEntry
The SnmpTargetAddrEntry holds the transport address to be used in the generation of SNMP message.
| Field Summary | |
(package private) java.lang.String |
tagList
|
| Constructor Summary | |
SnmpTargetAddrEntry(byte[] addrName)
Constructs a new SnmpTargetAddrEntry with the specified targetAddrName. |
|
SnmpTargetAddrEntry(byte[] targetAddrName,
byte targetAddrTDomain,
int[] tAddrTDomain,
byte[] targetAddrTAddress,
java.lang.String tagList,
int storateType,
int rowStatus)
Constructs a new SnmpTargetAddrEntry with the specified targetAddrName, targetAddrTDomain, tAddrTDomain, targetAddrTAddress, tagList, storageType and rowStatus. |
|
| Method Summary | |
boolean |
addTagValue(byte[] tagValue)
Adds the specified tag value to the tag list. |
java.lang.Object |
getKey()
Retrieve the hash key for this targetAddrEntry. |
static java.lang.Object |
getKey(byte[] name)
Retrieve the key for this targetAddr object. |
int |
getRowStatus()
Retrieve the rowStatus value associated with this object. |
java.util.Vector |
getSnmpTagList()
Returns a vector of snmpTag Values. |
int |
getSpinLock()
Gets the spinLock value associated with this object. |
int |
getStorageType()
Retrieve the storageType value associated with this object. |
java.lang.String |
getTagList()
Gets the SnmpTagList that is associated with this object. |
int[] |
getTargetAddressTDomain()
Get the targetAddrTDomain associated with this object. |
byte[] |
getTargetAddrName()
Get the targetAddrName associated with this object. |
SnmpTargetParamsEntry |
getTargetAddrParams()
Get the SnmpTargetParamsEntry associated with this object. |
int |
getTargetAddrRetryCount()
Get the retry count associated with this object. |
byte[] |
getTargetAddrTAddress()
Retrive the targetAddrTAddress value associated with this object. |
byte |
getTargetAddrTDomain()
Get the targetAddrTDomain associated with this object. |
int |
getTargetAddrTimeout()
Retrive the time out value associated with this object. |
java.lang.String |
getTargetHost()
Retrive the targetHost value associated with this object. |
int |
getTargetPort()
Retrive the targetPort value associated with this object. |
(package private) static int |
hash(byte[] name)
|
int |
hashCode()
The hash code used for maintaing the targetAddr entries. |
void |
removeTagValue(byte[] tagValue)
Removes the specified tag from the tag list. |
void |
setRowStatus(int rowStat)
Sets the rowStatus value corresponding to this Object. |
void |
setSpinLock(int lockVal)
Sets the spinLock value associated with this object. |
void |
setStorageType(int type)
Sets the storageType value corresponding to this Object. |
void |
setTagList(java.lang.String tag)
Sets the specified tag to the tagList. |
void |
setTargetAddressTDomain(int[] tDomain)
Set the targetAddrTDomain associated with this object. |
void |
setTargetAddrParams(SnmpTargetParamsEntry params)
Set the SnmpTargetParamsEntry associated with this object. |
void |
setTargetAddrRetryCount(int retry)
Set the retry count associated with this object. |
void |
setTargetAddrTAddress(byte[] address)
Set the targetAddrTAddress value associated with this object. |
void |
setTargetAddrTDomain(byte domain)
Set the targetAddrTDomain associated with this object. |
void |
setTargetAddrTimeout(int timeout)
Set the time out value associated with this object. |
void |
setTargetHost(java.lang.String address)
set the targetHost value associated with this object. |
void |
setTargetPort(int port)
Set the targetPort value associated with this object. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
java.lang.String tagList
| Constructor Detail |
public SnmpTargetAddrEntry(byte[] addrName)
addrName - The targetAddrName to be used for creating a new
SnmpTargetAddrEntry.
public SnmpTargetAddrEntry(byte[] targetAddrName,
byte targetAddrTDomain,
int[] tAddrTDomain,
byte[] targetAddrTAddress,
java.lang.String tagList,
int storateType,
int rowStatus)
targetAddrName - The targetAddrName to be used for creating a new
SnmpTargetAddrEntry.targetAddrTDomain - The address domain for this SnmpTargetAddrEntry.tAddrTDomain - The TargetAddressTDomain for this SnmpTargetAddrEntry.tagList - The tagList for this SnmpTargetAddrEntry.storageType - The storageType for this SnmpTargetAddrEntry.rowStatus - The rowStatus for this SnmpTargetAddrEntry.targetAddrName or
tAddrTDomain or targetAddrTAddress or
tagList is null.| Method Detail |
public byte[] getTargetAddrName()
public byte getTargetAddrTDomain()
public void setTargetAddrTDomain(byte domain)
doamin - The targetAddrTDomain value. Should be one of values
defined in this class.public int[] getTargetAddressTDomain()
public void setTargetAddressTDomain(int[] tDomain)
tDoamin - The targetAddrTDomain value. Should be one of values
defined in this class.public byte[] getTargetAddrTAddress()
public void setTargetAddrTAddress(byte[] address)
address - The targetAddrTAddress value associated with this
object.public java.lang.String getTargetHost()
public void setTargetHost(java.lang.String address)
address - The targetHost value to be associated with
this object.public int getTargetPort()
public void setTargetPort(int port)
port - The targetport value to be associated with this object.public int getTargetAddrTimeout()
public void setTargetAddrTimeout(int timeout)
timeout - The time out value to be set for this object.public int getTargetAddrRetryCount()
public void setTargetAddrRetryCount(int retry)
retry - The retry count to be set for this object.public java.util.Vector getSnmpTagList()
public boolean addTagValue(byte[] tagValue)
tagValue - The tag value to be added to the tag list.public void setTagList(java.lang.String tag)
tag - The SnmpTagList value that is to be set on this object
as a String representation.public java.lang.String getTagList()
public void removeTagValue(byte[] tagValue)
tagValue - The tag value to be removed from the tag list.public SnmpTargetParamsEntry getTargetAddrParams()
public void setTargetAddrParams(SnmpTargetParamsEntry params)
params - The SnmpTargetParamsEntry to be associated with
this object.public void setStorageType(int type)
type - The storageType value to be set to this Object.public int getStorageType()
public void setRowStatus(int rowStat)
rowStat - The rowStatus value to be set to this Object.public int getRowStatus()
public void setSpinLock(int lockVal)
lockVal - The spinLock value to be set.public int getSpinLock()
public java.lang.Object getKey()
String Object.public int hashCode()
public static java.lang.Object getKey(byte[] name)
String Object.static int hash(byte[] name)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||