private void addInterface(final Value type) {
String bindnetaddr = "";
String addr = "";
String port = "";
if (MCAST_TYPE.equals(type)) {
final NetInterface iface = (NetInterface) ifaceWidget.getValue();
if (iface == null) {
LOG.appWarning("addInterface: cannot add null interface");
return;
}
bindnetaddr = iface.getBindnetaddr();
addr = addrWidget.getStringValue();
port = portWidget.getStringValue();
}
aisCastAddresses.add(new AisCastAddress(type.getValueForConfig(), bindnetaddr, addr, port));
updateConfigPanelEditable(true);