org.opennms.netmgt.linkd
Class CdpInterface

java.lang.Object
  extended by org.opennms.netmgt.linkd.CdpInterface

public class CdpInterface
extends Object

Author:
antonio

Method Summary
 int getCdpIfIndex()
           
 int getCdpTargetIfIndex()
           
 InetAddress getCdpTargetIpAddr()
           
 int getCdpTargetNodeId()
           
 void setCdpTargetIfIndex(int ifindex)
           
 void setCdpTargetIpAddr(InetAddress cdpTargetIpAddr)
           
 void setCdpTargetNodeId(int cdpTargetNodeId)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getCdpIfIndex

public int getCdpIfIndex()
Returns:
Returns the cdpIfIndex.

getCdpTargetIfIndex

public int getCdpTargetIfIndex()
Returns:
Returns the cdpTargetDevicePort.

setCdpTargetIfIndex

public void setCdpTargetIfIndex(int ifindex)
Parameters:
cdpTargetDevicePort - The cdpTargetDevicePort to set.

getCdpTargetIpAddr

public InetAddress getCdpTargetIpAddr()
Returns:
Returns the cdpTargetIpAddr.

setCdpTargetIpAddr

public void setCdpTargetIpAddr(InetAddress cdpTargetIpAddr)
Parameters:
cdpTargetIpAddr - The cdpTargetIpAddr to set.

getCdpTargetNodeId

public int getCdpTargetNodeId()
Returns:
Returns the cdpTargetNodeId.

setCdpTargetNodeId

public void setCdpTargetNodeId(int cdpTargetNodeId)
Parameters:
cdpTargetNodeId - The cdpTargetNodeId to set.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009. All Rights Reserved.