Package org.netxms.client.snmp
Class SnmpUsmCredential
java.lang.Object
org.netxms.client.snmp.SnmpUsmCredential
- Author:
- Victor
- 
Constructor SummaryConstructorsConstructorDescriptionDefault constructor.SnmpUsmCredential(NXCPMessage msg, long baseId) Create credentials object from data in NXCP message
- 
Method SummaryModifier and TypeMethodDescriptionbooleanvoidfillMessage(NXCPMessage msg, long baseId) Fill NXCP message with object's dataintgetName()intintGet zone id of credentialinthashCode()voidsetAuthMethod(int authMethod) voidsetAuthPassword(String authPassword) voidsetComment(String comment) voidvoidsetPrivMethod(int privMethod) voidsetPrivPassword(String privPassword) voidsetZoneId(int zoneId) Set zone if of credential
- 
Constructor Details- 
SnmpUsmCredentialCreate credentials object from data in NXCP message- Parameters:
- msg- NXCP message
- baseId- Base variable ID
 
- 
SnmpUsmCredentialpublic SnmpUsmCredential()Default constructor.
 
- 
- 
Method Details- 
fillMessageFill NXCP message with object's data- Parameters:
- msg- NXCP message
- baseId- Base variable ID
 
- 
getName- Returns:
- the name
 
- 
setName- Parameters:
- name- the name to set
 
- 
getAuthMethodpublic int getAuthMethod()- Returns:
- the authMethod
 
- 
setAuthMethodpublic void setAuthMethod(int authMethod) - Parameters:
- authMethod- the authMethod to set
 
- 
getPrivMethodpublic int getPrivMethod()- Returns:
- the privMethod
 
- 
setPrivMethodpublic void setPrivMethod(int privMethod) - Parameters:
- privMethod- the privMethod to set
 
- 
getAuthPassword- Returns:
- the authPassword
 
- 
setAuthPassword- Parameters:
- authPassword- the authPassword to set
 
- 
getPrivPassword- Returns:
- the privPassword
 
- 
setPrivPassword- Parameters:
- privPassword- the privPassword to set
 
- 
hashCodepublic int hashCode()
- 
equals
- 
getZoneIdpublic int getZoneId()Get zone id of credential- Returns:
- zone id
 
- 
setZoneIdpublic void setZoneId(int zoneId) Set zone if of credential- Parameters:
- zoneId- to set
 
- 
getComment- Returns:
- the comment
 
- 
setComment- Parameters:
- comment- the comment to set
 
 
-