org.opennms.netmgt.linkd.snmp
Class CdpCacheTableEntry

java.lang.Object
  extended by org.opennms.netmgt.snmp.AbstractSnmpStore
      extended by org.opennms.netmgt.capsd.snmp.SnmpStore
          extended by org.opennms.netmgt.linkd.snmp.CdpCacheTableEntry

public final class CdpCacheTableEntry
extends SnmpStore

The CdpCacheTableEntry class is designed to hold all the MIB-II information for one entry in the .iso.org.dod.internet.private.enterprises.cisco.ciscoMgmt. ciscoCdpMIB.ciscoCdpMIBObjects.cdpCache.cdpCacheTable.cdpCacheEntry

This object is used by the CdpCacheTable to hold information single entries in the table. See the CdpCacheTable documentation form more information.

Version:
$Id: $
Author:
Antonio
See Also:
CdpCacheTable, RFC1213

Field Summary
static String CDP_ADDRESS
          Constant CDP_ADDRESS="cdpCacheAddress"
static String CDP_ADDRESS_TYPE
          Constant CDP_ADDRESS_TYPE="cdpCacheAddressType"
static String CDP_APPLIANCEID
          Constant CDP_APPLIANCEID="cdpCacheApplianceID"
static String CDP_CAPS
          Constant CDP_CAPS="cdpCacheCapabilities"
static String CDP_DEVICEID
          Constant CDP_DEVICEID="cdpCacheDeviceId"
static String CDP_DEVICEINDEX
          Constant CDP_DEVICEINDEX="cdpCacheDeviceIndex"
static String CDP_DEVICEPORT
          Constant CDP_DEVICEPORT="cdpCacheDevicePort"
static String CDP_DUPLEX
          Constant CDP_DUPLEX="cdpCacheDuplex"
static String CDP_IFINDEX
          Constant CDP_IFINDEX="cdpCacheIfIndex"
static String CDP_LASTCHANGE
          Constant CDP_LASTCHANGE="cdpCacheLastChange"
static String CDP_MTU
          Constant CDP_MTU="cdpCacheMTU"
static String CDP_NATIVEVLAN
          Constant CDP_NATIVEVLAN="cdpCacheNatveVlan"
static String CDP_PHYSLOC
          Constant CDP_PHYSLOC="cdpCachePhysLocation"
static String CDP_PLATFORM
          Constant CDP_PLATFORM="cdpPlatform"
static String CDP_POWERCONS
          Constant CDP_POWERCONS="cdpCachePowerConsumption"
static String CDP_PRIMARYMGMTADDR
          Constant CDP_PRIMARYMGMTADDR="cdpCachePrimaryMgmtAddress"
static String CDP_PRIMARYMGMTADDR_TYPE
          Constant CDP_PRIMARYMGMTADDR_TYPE="cdpCachePrimaryMgmtAddressType"
static String CDP_SECONDARYMGMTADDR
          Constant CDP_SECONDARYMGMTADDR="cdpCacheSecondaryMgmtAddress"
static String CDP_SECONDARYMGMTADDR_TYPE
          Constant CDP_SECONDARYMGMTADDR_TYPE="cdpCacheSecondaryMgmtAddressType"
static String CDP_SYSNAME
          Constant CDP_SYSNAME="cdpCacheSysName"
static String CDP_SYSOBJID
          Constant CDP_SYSOBJID="cdpCacheSysObjectID"
static String CDP_VERSION
          Constant CDP_VERSION="cdpCacheVersion"
static String CDP_VLANID
          Constant CDP_VLANID="cdpCacheVlanID"
static String CDP_VTP_MGMTDOMAIN
          Constant CDP_VTP_MGMTDOMAIN="cdpCacheVtpMgmtDomain"
static NamedSnmpVar[] cdpCache_elemList
          The keys that will be supported by default from the TreeMap base class.
static String TABLE_OID
          The TABLE_OID is the object identifier that represents the root of the table CdPCacheTable in the MIB forest.
 
Fields inherited from class org.opennms.netmgt.capsd.snmp.SnmpStore
ms_elemList
 
Fields inherited from class org.opennms.netmgt.snmp.AbstractSnmpStore
IFINDEX
 
Constructor Summary
CdpCacheTableEntry()
          Constructor for CdpCacheTableEntry.
 
Method Summary
 InetAddress getCdpCacheAddress()
          getCdpCacheAddress
 int getCdpCacheAddressType()
          getCdpCacheAddressType
 String getCdpCacheDeviceId()
          getCdpCacheDeviceId
 int getCdpCacheDeviceIndex()
          getCdpCacheDeviceIndex
 String getCdpCacheDevicePort()
          getCdpCacheDevicePort
 int getCdpCacheIfIndex()
          getCdpCacheIfIndex
 String getCdpCacheVersion()
          getCdpCacheVersion
 String getCdpPlatform()
          getCdpPlatform
 void storeResult(SnmpResult res)
          
 
Methods inherited from class org.opennms.netmgt.capsd.snmp.SnmpStore
getElementListSize, getElements, log
 
Methods inherited from class org.opennms.netmgt.snmp.AbstractSnmpStore
getDisplayString, getHexString, getIfIndex, getInt32, getIPAddress, getObjectID, getUInt32, getValue, isEmpty, putIfIndex, putValue, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CDP_IFINDEX

public static final String CDP_IFINDEX
Constant CDP_IFINDEX="cdpCacheIfIndex"

See Also:
Constant Field Values

CDP_DEVICEINDEX

public static final String CDP_DEVICEINDEX
Constant CDP_DEVICEINDEX="cdpCacheDeviceIndex"

See Also:
Constant Field Values

CDP_ADDRESS_TYPE

public static final String CDP_ADDRESS_TYPE
Constant CDP_ADDRESS_TYPE="cdpCacheAddressType"

See Also:
Constant Field Values

CDP_ADDRESS

public static final String CDP_ADDRESS
Constant CDP_ADDRESS="cdpCacheAddress"

See Also:
Constant Field Values

CDP_VERSION

public static final String CDP_VERSION
Constant CDP_VERSION="cdpCacheVersion"

See Also:
Constant Field Values

CDP_DEVICEID

public static final String CDP_DEVICEID
Constant CDP_DEVICEID="cdpCacheDeviceId"

See Also:
Constant Field Values

CDP_DEVICEPORT

public static final String CDP_DEVICEPORT
Constant CDP_DEVICEPORT="cdpCacheDevicePort"

See Also:
Constant Field Values

CDP_PLATFORM

public static final String CDP_PLATFORM
Constant CDP_PLATFORM="cdpPlatform"

See Also:
Constant Field Values

CDP_CAPS

public static final String CDP_CAPS
Constant CDP_CAPS="cdpCacheCapabilities"

See Also:
Constant Field Values

CDP_VTP_MGMTDOMAIN

public static final String CDP_VTP_MGMTDOMAIN
Constant CDP_VTP_MGMTDOMAIN="cdpCacheVtpMgmtDomain"

See Also:
Constant Field Values

CDP_NATIVEVLAN

public static final String CDP_NATIVEVLAN
Constant CDP_NATIVEVLAN="cdpCacheNatveVlan"

See Also:
Constant Field Values

CDP_DUPLEX

public static final String CDP_DUPLEX
Constant CDP_DUPLEX="cdpCacheDuplex"

See Also:
Constant Field Values

CDP_APPLIANCEID

public static final String CDP_APPLIANCEID
Constant CDP_APPLIANCEID="cdpCacheApplianceID"

See Also:
Constant Field Values

CDP_VLANID

public static final String CDP_VLANID
Constant CDP_VLANID="cdpCacheVlanID"

See Also:
Constant Field Values

CDP_POWERCONS

public static final String CDP_POWERCONS
Constant CDP_POWERCONS="cdpCachePowerConsumption"

See Also:
Constant Field Values

CDP_MTU

public static final String CDP_MTU
Constant CDP_MTU="cdpCacheMTU"

See Also:
Constant Field Values

CDP_SYSNAME

public static final String CDP_SYSNAME
Constant CDP_SYSNAME="cdpCacheSysName"

See Also:
Constant Field Values

CDP_SYSOBJID

public static final String CDP_SYSOBJID
Constant CDP_SYSOBJID="cdpCacheSysObjectID"

See Also:
Constant Field Values

CDP_PRIMARYMGMTADDR_TYPE

public static final String CDP_PRIMARYMGMTADDR_TYPE
Constant CDP_PRIMARYMGMTADDR_TYPE="cdpCachePrimaryMgmtAddressType"

See Also:
Constant Field Values

CDP_PRIMARYMGMTADDR

public static final String CDP_PRIMARYMGMTADDR
Constant CDP_PRIMARYMGMTADDR="cdpCachePrimaryMgmtAddress"

See Also:
Constant Field Values

CDP_SECONDARYMGMTADDR_TYPE

public static final String CDP_SECONDARYMGMTADDR_TYPE
Constant CDP_SECONDARYMGMTADDR_TYPE="cdpCacheSecondaryMgmtAddressType"

See Also:
Constant Field Values

CDP_SECONDARYMGMTADDR

public static final String CDP_SECONDARYMGMTADDR
Constant CDP_SECONDARYMGMTADDR="cdpCacheSecondaryMgmtAddress"

See Also:
Constant Field Values

CDP_PHYSLOC

public static final String CDP_PHYSLOC
Constant CDP_PHYSLOC="cdpCachePhysLocation"

See Also:
Constant Field Values

CDP_LASTCHANGE

public static final String CDP_LASTCHANGE
Constant CDP_LASTCHANGE="cdpCacheLastChange"

See Also:
Constant Field Values

cdpCache_elemList

public static final NamedSnmpVar[] cdpCache_elemList

The keys that will be supported by default from the TreeMap base class. Each of the elements in the list are an instance of the dot1dbasetable. Objects in this list should be used by multiple instances of this class.


TABLE_OID

public static final String TABLE_OID

The TABLE_OID is the object identifier that represents the root of the table CdPCacheTable in the MIB forest.

See Also:
Constant Field Values
Constructor Detail

CdpCacheTableEntry

public CdpCacheTableEntry()

Constructor for CdpCacheTableEntry.

Method Detail

storeResult

public void storeResult(SnmpResult res)

Overrides:
storeResult in class SnmpStore

getCdpCacheIfIndex

public int getCdpCacheIfIndex()

getCdpCacheIfIndex

Returns:
a int.

getCdpCacheDeviceIndex

public int getCdpCacheDeviceIndex()

getCdpCacheDeviceIndex

Returns:
a int.

getCdpCacheAddressType

public int getCdpCacheAddressType()

getCdpCacheAddressType

Returns:
a int.

getCdpCacheAddress

public InetAddress getCdpCacheAddress()

getCdpCacheAddress

Returns:
a InetAddress object.

getCdpCacheVersion

public String getCdpCacheVersion()

getCdpCacheVersion

Returns:
a String object.

getCdpCacheDeviceId

public String getCdpCacheDeviceId()

getCdpCacheDeviceId

Returns:
a String object.

getCdpCacheDevicePort

public String getCdpCacheDevicePort()

getCdpCacheDevicePort

Returns:
a String object.

getCdpPlatform

public String getCdpPlatform()

getCdpPlatform

Returns:
a String object.


Copyright © 2011. All Rights Reserved.