org.netxms.client.snmp
Class SnmpTrapParameterMapping
java.lang.Object
org.netxms.client.snmp.SnmpTrapParameterMapping
public class SnmpTrapParameterMapping
- extends java.lang.Object
SNMP trap parameter mapping
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BY_OBJECT_ID
public static final int BY_OBJECT_ID
- See Also:
- Constant Field Values
BY_POSITION
public static final int BY_POSITION
- See Also:
- Constant Field Values
FORCE_TEXT
public static final int FORCE_TEXT
- See Also:
- Constant Field Values
SnmpTrapParameterMapping
public SnmpTrapParameterMapping(int position)
- Create mapping by position
- Parameters:
position
- parameter's position
SnmpTrapParameterMapping
public SnmpTrapParameterMapping(SnmpObjectId oid)
- Create mapping by object ID
- Parameters:
oid
- SNMP object ID
fillMessage
public void fillMessage(NXCPMessage msg,
int index)
- Fill NXCP message with parameter mapping's data
- Parameters:
index
- mapping index
getType
public int getType()
- Returns:
- the type
setType
public void setType(int type)
- Parameters:
type
- the type to set
getObjectId
public SnmpObjectId getObjectId()
- Returns:
- the objectId
setObjectId
public void setObjectId(SnmpObjectId objectId)
- Parameters:
objectId
- the objectId to set
getPosition
public int getPosition()
- Returns:
- the position
setPosition
public void setPosition(int position)
- Parameters:
position
- the position to set
getDescription
public java.lang.String getDescription()
- Returns:
- the description
setDescription
public void setDescription(java.lang.String description)
- Parameters:
description
- the description to set
getFlags
public int getFlags()
- Returns:
- the flags
setFlags
public void setFlags(int flags)
- Parameters:
flags
- the flags to set
Copyright © 2013. All Rights Reserved.