org.opennms.netmgt.linkd
Interface QueryManager

All Known Implementing Classes:
DbEventWriter

public interface QueryManager

Author:
antonio

Field Summary
static char ACTION_DELETE
           
static char ACTION_UPTODATE
           
static int CDP_ADDRESS_TYPE_IP_ADDRESS
          the int that indicated cdp address type
static int SNMP_DOT1D_FDB_STATUS_INVALID
          The status of the info in FDB table entry The status of this entry.
static int SNMP_DOT1D_FDB_STATUS_LEARNED
          The status of the info in FDB table entry The status of this entry.
static int SNMP_DOT1D_FDB_STATUS_MGMT
          mgmt(5) : the value of the corresponding instance of dot1dTpFdbAddress is also the value of an existing instance of dot1dStaticAddress.
static int SNMP_DOT1D_FDB_STATUS_OTHER
          The status of the info in FDB table entry The meanings of the value is other(1): none of the following.
static int SNMP_DOT1D_FDB_STATUS_SELF
          The status of the info in FDB table entry The status of this entry.
 
Method Summary
 LinkableNode getSnmpNode(int nodeid)
           
 List<LinkableNode> getSnmpNodeList()
           
 String getSnmpPrimaryIp(int nodeid)
           
 void setJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
           
 void storeDiscoveryLink(DiscoveryLink discoveryLink)
           
 LinkableNode storeSnmpCollection(LinkableNode node, SnmpCollection snmpColl)
           
 void update(int nodeid, char action)
           
 void updateDeletedNodes()
           
 

Field Detail

SNMP_DOT1D_FDB_STATUS_OTHER

static final int SNMP_DOT1D_FDB_STATUS_OTHER
The status of the info in FDB table entry The meanings of the value is other(1): none of the following. This would include the case where some other MIB object (not the corresponding instance of dot1dTpFdbPort, nor an entry in the dot1dStaticTable) is being used to determine if and how frames addressed to the value of the corresponding instance of dot1dTpFdbAddress are being forwarded.

See Also:
Constant Field Values

SNMP_DOT1D_FDB_STATUS_INVALID

static final int SNMP_DOT1D_FDB_STATUS_INVALID
The status of the info in FDB table entry The status of this entry. The meanings of the values are: invalid(2) : this entry is not longer valid (e.g., it was learned but has since aged-out), but has not yet been flushed from the table.

See Also:
Constant Field Values

SNMP_DOT1D_FDB_STATUS_LEARNED

static final int SNMP_DOT1D_FDB_STATUS_LEARNED
The status of the info in FDB table entry The status of this entry. The meanings of the values are: learned(3) : the value of the corresponding instance of dot1dTpFdbPort was learned, and is being used.

See Also:
Constant Field Values

SNMP_DOT1D_FDB_STATUS_SELF

static final int SNMP_DOT1D_FDB_STATUS_SELF
The status of the info in FDB table entry The status of this entry. The meanings of the values are: self(4) : the value of the corresponding instance of dot1dTpFdbAddress represents one of the bridge's addresses. The corresponding instance of dot1dTpFdbPort indicates which of the bridge's ports has this address.

See Also:
Constant Field Values

SNMP_DOT1D_FDB_STATUS_MGMT

static final int SNMP_DOT1D_FDB_STATUS_MGMT
mgmt(5) : the value of the corresponding instance of dot1dTpFdbAddress is also the value of an existing instance of dot1dStaticAddress.

See Also:
Constant Field Values

CDP_ADDRESS_TYPE_IP_ADDRESS

static final int CDP_ADDRESS_TYPE_IP_ADDRESS
the int that indicated cdp address type

See Also:
Constant Field Values

ACTION_UPTODATE

static final char ACTION_UPTODATE
See Also:
Constant Field Values

ACTION_DELETE

static final char ACTION_DELETE
See Also:
Constant Field Values
Method Detail

getSnmpNodeList

List<LinkableNode> getSnmpNodeList()
                                   throws SQLException
Throws:
SQLException

getSnmpNode

LinkableNode getSnmpNode(int nodeid)
                         throws SQLException
Throws:
SQLException

updateDeletedNodes

void updateDeletedNodes()
                        throws SQLException
Throws:
SQLException

getSnmpPrimaryIp

String getSnmpPrimaryIp(int nodeid)
                        throws SQLException
Throws:
SQLException

storeSnmpCollection

LinkableNode storeSnmpCollection(LinkableNode node,
                                 SnmpCollection snmpColl)
                                 throws SQLException
Throws:
SQLException

storeDiscoveryLink

void storeDiscoveryLink(DiscoveryLink discoveryLink)
                        throws SQLException
Throws:
SQLException

update

void update(int nodeid,
            char action)
            throws SQLException
Throws:
SQLException

setJdbcTemplate

void setJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
Parameters:
connectionFactory -


Copyright © 2009. All Rights Reserved.