public abstract class SnmpAttributeType extends AbstractCollectionAttributeType
(NumericAttributeType)
) or string data
((StringAttributeType)
).Modifier | Constructor and Description |
---|---|
protected |
SnmpAttributeType(ResourceType resourceType,
String collectionName,
MibObject mibObj,
AttributeGroupType groupType)
Constructor for SnmpAttributeType.
|
Modifier and Type | Method and Description |
---|---|
static SnmpAttributeType |
create(ResourceType resourceType,
String collectionName,
MibObject mibObj,
AttributeGroupType groupType)
create
|
boolean |
equals(Object obj)
equals
|
String |
getAlias()
getAlias
|
protected String |
getCollectionName()
getCollectionName
|
static List<Collectable> |
getCollectionTrackers(Collection<SnmpAttributeType> objList)
getCollectionTrackers
|
String |
getGroupIfType()
getGroupIfType
|
String |
getGroupName()
getGroupName
|
String |
getInstance()
getInstance
|
String |
getName()
getName
|
String |
getOid()
getOid
|
ResourceType |
getResourceType()
getResourceType
|
int |
hashCode()
hashCode
|
boolean |
matches(SnmpObjId base,
SnmpInstId inst)
matches
|
abstract void |
storeAttribute(CollectionAttribute attribute,
Persister persister)
storeAttribute
|
void |
storeResult(SnmpCollectionSet collectionSet,
SNMPCollectorEntry entry,
SnmpResult res)
storeResult
|
String |
toString()
toString
|
getGroupType
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getType
protected final MibObject m_mibObj
protected SnmpAttributeType(ResourceType resourceType, String collectionName, MibObject mibObj, AttributeGroupType groupType)
Constructor for SnmpAttributeType.
resourceType
- a ResourceType
object.collectionName
- a String
object.mibObj
- a MibObject
object.groupType
- a AttributeGroupType
object.public static List<Collectable> getCollectionTrackers(Collection<SnmpAttributeType> objList)
getCollectionTrackers
objList
- a Collection
object.List
object.public static SnmpAttributeType create(ResourceType resourceType, String collectionName, MibObject mibObj, AttributeGroupType groupType)
create
resourceType
- a ResourceType
object.collectionName
- a String
object.mibObj
- a MibObject
object.groupType
- a AttributeGroupType
object.SnmpAttributeType
object.public ResourceType getResourceType()
getResourceType
ResourceType
object.public abstract void storeAttribute(CollectionAttribute attribute, Persister persister)
storeAttribute
attribute
- a CollectionAttribute
object.persister
- a Persister
object.public void storeResult(SnmpCollectionSet collectionSet, SNMPCollectorEntry entry, SnmpResult res)
storeResult
collectionSet
- a SnmpCollectionSet
object.entry
- a SNMPCollectorEntry
object.res
- a SnmpResult
object.public String toString()
toString
public boolean equals(Object obj)
equals
equals
in interface CollectionAttributeType
equals
in class Object
obj
- a Object
object.public int hashCode()
hashCode
hashCode
in interface CollectionAttributeType
hashCode
in class Object
public boolean matches(SnmpObjId base, SnmpInstId inst)
matches
base
- a SnmpObjId
object.inst
- a SnmpInstId
object.Copyright © 2017. All rights reserved.