|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.adventnet.snmp.snmp2.SnmpTargetParamsEntry
The SnmpTargetParamsEntry contains the SNMP target information to be used in the generation of SNMP messages.
| Field Summary | |
(package private) int |
paramsMPModel
|
(package private) byte[] |
paramsName
|
(package private) byte |
paramsSecModel
|
(package private) byte |
paramsSecurityLevel
|
(package private) int |
paramsSecurityModel
|
(package private) byte[] |
paramsSecurityName
|
(package private) int |
rowStatus
|
(package private) int |
storageType
|
(package private) static byte |
USM_SECURITY_MODEL
|
| Constructor Summary | |
SnmpTargetParamsEntry(byte[] paramsName)
Constructs a new SnmpTargetParamsEntry with the specified paramsName. |
|
SnmpTargetParamsEntry(byte[] paramsName,
int paramsMPModel,
int paramsSecurityModel,
byte[] paramsSecurityName,
byte paramsSecurityLevel,
int storageType,
int rowStatus)
Constructs a new SnmpTargetParamsEntry with the specified paramsName, paramsMPModel, securitymodel, securityName, securityLevel, storageType and rowStatus. |
|
| Method Summary | |
java.lang.Object |
getKey()
Retrieve the hash key for this targetParamsEntry. |
static java.lang.Object |
getKey(byte[] name)
Retrieve the key for this targetParams object. |
int |
getParamsMPModel()
Get the paramsMPModel associated with this object. |
byte[] |
getParamsName()
Get the SnmpTargetParams name associated with this object. |
byte |
getParamsSecModel()
Get the paramsSecurityModel associated with this object. |
byte |
getParamsSecurityLevel()
Returns the paramsSecurityLevel associated with this object. |
int |
getParamsSecurityModel()
Get the paramsSecurityModel associated with this object. |
byte[] |
getParamsSecurityName()
Returns the paramsSecurityName associated with this object. |
int |
getRowStatus()
Gets the row status associated with this object. |
int |
getStorageType()
Gets the storage type that is associated with this object. |
(package private) static int |
hash(byte[] name)
|
int |
hashCode()
The hash code used for maintaing the targetParams entries. |
void |
setParamsMPModel(int model)
Set the paramsMPModel associated with this object. |
void |
setParamsSecurityLevel(byte level)
Set the paramsSecurityLevel associated with this object. |
void |
setParamsSecurityModel(int model)
Set the paramsSecurityModel associated with this object. |
void |
setParamsSecurityName(byte[] name)
Set the paramsSecurityName associated with this object. |
void |
setRowStatus(int status)
Sets the row status for this object. |
void |
setStorageType(int type)
Sets the storage type associated with this object. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
static byte USM_SECURITY_MODEL
byte[] paramsName
int storageType
int rowStatus
int paramsSecurityModel
int paramsMPModel
byte paramsSecModel
byte[] paramsSecurityName
byte paramsSecurityLevel
| Constructor Detail |
public SnmpTargetParamsEntry(byte[] paramsName)
paramsName - The SnmpTargetParamsName used for creating a new
entry.
public SnmpTargetParamsEntry(byte[] paramsName,
int paramsMPModel,
int paramsSecurityModel,
byte[] paramsSecurityName,
byte paramsSecurityLevel,
int storageType,
int rowStatus)
paramsName - The SnmpTargetParamsName used for creating a new
entry.paramsMPModel - The paramsMPModel usee to create this entry.paramsSecurityModel - the securityModel of this entry.paramsSecurityName - the securityName of this entry.paramsSecurityLevel - the securityLevel of this entry.storateType - the storage type of this entry.rowStatus - the rowStatus for this entry.paramsName
or the paramsSecurityName is null.| Method Detail |
public byte[] getParamsName()
public int getParamsMPModel()
public void setParamsMPModel(int model)
model - The message processing model used when generating
SNMP messages.public byte getParamsSecModel()
public int getParamsSecurityModel()
public void setParamsSecurityModel(int model)
model - The security model used when generating SNMP messages.public byte[] getParamsSecurityName()
public void setParamsSecurityName(byte[] name)
name - the securityName which identifies the Principal
on whose behalf SNMP messages will be generated.public byte getParamsSecurityLevel()
public void setParamsSecurityLevel(byte level)
level - The level of security to be used when generating
SNMP messages.public void setStorageType(int type)
type - The storage type that is to be associated with this object.public int getStorageType()
public void setRowStatus(int status)
status - The row status to be set for this object.public int getRowStatus()
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 | ||||||||