org.opennms.netmgt.collectd
Class DefaultCollectionAgentService
java.lang.Object
org.opennms.netmgt.collectd.DefaultCollectionAgentService
- All Implemented Interfaces:
- CollectionAgentService
public class DefaultCollectionAgentService
- extends java.lang.Object
- implements CollectionAgentService
Represents a remote SNMP agent on a specific IPv4 interface.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
create
public static CollectionAgentService create(java.lang.Integer ifaceId,
org.opennms.netmgt.dao.IpInterfaceDao ifaceDao,
org.springframework.transaction.PlatformTransactionManager transMgr)
getHostAddress
public java.lang.String getHostAddress()
- Specified by:
getHostAddress in interface CollectionAgentService
getNodeId
public int getNodeId()
- Specified by:
getNodeId in interface CollectionAgentService
getIfIndex
public int getIfIndex()
- Specified by:
getIfIndex in interface CollectionAgentService
getSysObjectId
public java.lang.String getSysObjectId()
- Specified by:
getSysObjectId in interface CollectionAgentService
getCollectionType
public org.opennms.netmgt.model.OnmsIpInterface.CollectionType getCollectionType()
- Specified by:
getCollectionType in interface CollectionAgentService
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getAgentConfig
public org.opennms.netmgt.snmp.SnmpAgentConfig getAgentConfig()
- Specified by:
getAgentConfig in interface CollectionAgentService
getSnmpInterfaceData
public java.util.Set<SnmpIfData> getSnmpInterfaceData()
- Specified by:
getSnmpInterfaceData in interface CollectionAgentService
getInetAddress
public java.net.InetAddress getInetAddress()
- Specified by:
getInetAddress in interface CollectionAgentService
Copyright © 2007. All Rights Reserved.