public class CdpInterface extends Object
CdpInterface class.
Modifier and Type | Field and Description |
---|---|
static int |
CDP_ADDRESS_TYPE_IP_ADDRESS
the int that indicated cdp address type
|
Constructor and Description |
---|
CdpInterface(int ifindex) |
Modifier and Type | Method and Description |
---|---|
int |
getCdpIfIndex()
Getter for the field
cdpIfIndex . |
String |
getCdpIfName() |
String |
getCdpTargetDeviceId() |
String |
getCdpTargetIfName()
Getter for the field
cdpTargetIfName . |
Integer |
getCdpTargetNodeId()
Getter for the field
cdpTargetNodeId . |
void |
setCdpIfName(String cdpIfName) |
void |
setCdpTargetDeviceId(String cdpTargetDeviceId) |
void |
setCdpTargetIfName(String ifname)
Setter for the field
cdpTargetIfIndex . |
void |
setCdpTargetNodeId(Integer cdpTargetNodeId)
Setter for the field
cdpTargetNodeId . |
String |
toString()
toString
|
public static final int CDP_ADDRESS_TYPE_IP_ADDRESS
public int getCdpIfIndex()
Getter for the field cdpIfIndex
.
public String getCdpTargetIfName()
Getter for the field cdpTargetIfName
.
public void setCdpTargetIfName(String ifname)
Setter for the field cdpTargetIfIndex
.
ifindex
- a int.public Integer getCdpTargetNodeId()
Getter for the field cdpTargetNodeId
.
public void setCdpTargetNodeId(Integer cdpTargetNodeId)
Setter for the field cdpTargetNodeId
.
cdpTargetNodeId
- The cdpTargetNodeId to set.public String getCdpTargetDeviceId()
public void setCdpTargetDeviceId(String cdpTargetDeviceId)
public String getCdpIfName()
public void setCdpIfName(String cdpIfName)
Copyright © 2015. All rights reserved.