|
HOME | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ireasoning.protocol.snmp.TrapSink com.ireasoning.protocol.snmp.SnmpV3TrapSink
This class represents an SNMPV3 trap sink properties
Constructor Summary | |
SnmpV3TrapSink()
Constructor |
|
SnmpV3TrapSink(Map attributes)
Construct a TrapSink object based on the name/value pair contained in passed attributes object |
|
SnmpV3TrapSink(String hostName,
int port,
String userName,
String auth,
String authPassword,
String privPassword,
String engineID,
boolean isInform)
Constructor |
Method Summary | |
String |
getAuth()
Returns the authentication algorithm of SNMPv3 trap receiver, either MD5 or SHA. |
String |
getAuthPassword()
Returns the authentication password of SNMPv3 trap receiver |
String |
getContextName()
|
String |
getEngineID()
Returns the engineID of SNMPv3 trap receiver |
int |
getPriv()
Returns privacy protocol |
String |
getPrivPassword()
Returns the privacy password of SNMPv3 trap receiver |
String |
getUserName()
Returns the user name of SNMPv3 trap receiver |
int |
getVersion()
Returns trap receiver's version number |
void |
setAuth(String auth)
Sets the authentication algorithm of SNMPv3 trap receiver |
void |
setAuthPassword(String authPassword)
Sets the authentication password of SNMPv3 trap receiver |
void |
setContextName(String context)
|
void |
setEngineID(String engineID)
Sets the engineID of SNMPv3 trap receiver |
void |
setPriv(int priv)
Set privacy protocol |
void |
setPrivPassword(String privPassword)
Sets the privacy password of SNMPv3 trap receiver |
void |
setUserName(String userName)
Sets the user name of SNMPv3 trap receiver |
void |
setVersion(int version)
Sets trap receiver's version number. |
Map |
toMap()
Returns a map object which contains name/value pair representing data of this object |
Methods inherited from class com.ireasoning.protocol.snmp.TrapSink |
getCommunity, getHostName, getPort, getProperty, isEnabled, isInform, setCommunity, setEnabled, setHostName, setInform, setPort, setProperty, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SnmpV3TrapSink()
public SnmpV3TrapSink(String hostName, int port, String userName, String auth, String authPassword, String privPassword, String engineID, boolean isInform)
auth
- authentication algorithm, either "md5" or "sha"public SnmpV3TrapSink(Map attributes)
Method Detail |
public int getVersion()
getVersion
in class TrapSink
public void setVersion(int version)
setVersion
in class TrapSink
public String getEngineID()
public void setEngineID(String engineID)
public String getPrivPassword()
public void setPrivPassword(String privPassword)
public String getAuthPassword()
public void setAuthPassword(String authPassword)
public String getAuth()
public void setAuth(String auth)
auth
- algorithm, either "md5" or "sha"public void setPriv(int priv)
priv
- privacy protocol. One of {SnmpConst.DES, SnmpConst.AES, SnmpConst.AES192, SnmpConst.AES256}. Default value is SnmpConst.DESpublic int getPriv()
public String getUserName()
public void setUserName(String userName)
public String getContextName()
public void setContextName(String context)
public Map toMap()
toMap
in class TrapSink
|
HOME | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |