private static final String PORTID = "PortId";
private static final String TTL = "TTL";
private static final int LLDPDefaultTlvs = 3;
- private static LLDPTLV emptyTLV = new LLDPTLV().setLength((short) 0).setType((byte) 0);
+ private static final LLDPTLV emptyTLV = new LLDPTLV().setLength((short) 0).setType((byte) 0);
public static final byte[] LLDPMulticastMac = { 1, (byte) 0x80, (byte) 0xc2, 0, 0, (byte) 0xe };
private Map<Byte, LLDPTLV> mandatoryTLVs;
}
/**
- * @param String
+ * @param type
* - description of the type of TLV
* @return LLDPTLV - full TLV
*/
}
/**
- * @param String
+ * @param type
* - description of the type of TLV
- * @param LLDPTLV
+ * @param tlv
* - tlv to set
- * @return void
*/
public void setTLV(String type, LLDPTLV tlv) {
putToTLVs(getType(type), tlv);
}
/**
- * @param LLDPTLV
+ * @param chassisId
* - the chassisId to set
*/
public LLDP setChassisId(LLDPTLV chassisId) {
}
/**
- * @param LLDPTLV
- * - the chassisId to set
+ * @param systemNameId
+ * - the systemNameId to set
*/
public LLDP setSystemNameId(LLDPTLV systemNameId) {
setTLV(SYSTEMNAMEID, systemNameId);
}
/**
- * @param LLDPTLV
+ * @param portId
* - the portId to set
* @return LLDP
*/
}
/**
- * @param LLDPTLV
+ * @param ttl
* - the ttl to set
* @return LLDP
*/
}
/**
- * @param customTLVList
+ * @param customTLV
* the list of custom TLVs to set
* @return this LLDP
*/