org.opennms.netmgt.collectd
Class DefaultCollectionAgentService

java.lang.Object
  extended by org.opennms.netmgt.collectd.DefaultCollectionAgentService
All Implemented Interfaces:
CollectionAgentService

public class DefaultCollectionAgentService
extends Object
implements CollectionAgentService

Represents a remote SNMP agent on a specific IPv4 interface.


Method Summary
static CollectionAgentService create(Integer ifaceId, IpInterfaceDao ifaceDao, org.springframework.transaction.PlatformTransactionManager transMgr)
           
 SnmpAgentConfig getAgentConfig()
           
 OnmsIpInterface.CollectionType getCollectionType()
           
 String getHostAddress()
           
 int getIfIndex()
           
 InetAddress getInetAddress()
           
 int getNodeId()
           
 Set<SnmpIfData> getSnmpInterfaceData()
           
 String getSysObjectId()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

create

public static CollectionAgentService create(Integer ifaceId,
                                            IpInterfaceDao ifaceDao,
                                            org.springframework.transaction.PlatformTransactionManager transMgr)

getHostAddress

public 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 String getSysObjectId()
Specified by:
getSysObjectId in interface CollectionAgentService

getCollectionType

public OnmsIpInterface.CollectionType getCollectionType()
Specified by:
getCollectionType in interface CollectionAgentService

toString

public String toString()
Overrides:
toString in class Object

getAgentConfig

public SnmpAgentConfig getAgentConfig()
Specified by:
getAgentConfig in interface CollectionAgentService

getSnmpInterfaceData

public Set<SnmpIfData> getSnmpInterfaceData()
Specified by:
getSnmpInterfaceData in interface CollectionAgentService

getInetAddress

public InetAddress getInetAddress()
Specified by:
getInetAddress in interface CollectionAgentService


Copyright © 2009. All Rights Reserved.