Examples of UcastLink


Examples of lcmc.crm.domain.UcastLink

            iface = ifaceWidget.getStringValue();
            addr = addrWidget.getStringValue();
        } else if (SERIAL_TYPE.equals(type)) {
            serial = serialWidget.getStringValue();
        } else if (UCAST_TYPE.equals(type)) {
            final UcastLink ucastLink1 = (UcastLink) ucastLink1Widget.getValue();
            final UcastLink ucastLink2 = (UcastLink) ucastLink2Widget.getValue();
            if (ucastLink1 == null || ucastLink2 == null || ucastLink1.getHost() == ucastLink2.getHost()) {
                application.invokeLater(new Runnable() {
                    @Override
                    public void run() {
                        addAddressButton.setEnabled(false);
                    }
                });
                return;
            }
            iface = ucastLink1.getInterface();
            addr = ucastLink2.getIp();
        }

        for (final CastAddress c : castAddresses) {
            if (c.equals(type.getValueForConfig(), iface, addr, serial)) {
                application.invokeLater(new Runnable() {
View Full Code Here

Examples of lcmc.crm.domain.UcastLink

        /* ucast links */
        final List<UcastLink> ulList = new ArrayList<UcastLink>();
        for (final Host host : hosts) {
            final NetInterface[] netInterfaces = netInterfaceService.getNetInterfacesWithBridges(host);
            for (final NetInterface n : netInterfaces) {
                ulList.add(new UcastLink(host, n));
            }
        }
        final UcastLink[] ucastLinks = ulList.toArray(new UcastLink[ulList.size()]);

        ucastLink1Widget = widgetFactory.createInstance(
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.