Examples of UpdateData


Examples of com.alibaba.otter.shared.communication.app.event.AppUpdateEvent.UpdateData

        CommunicationRegistry.regist(AppEventType.update, service);
        AppUpdateEvent event = new AppUpdateEvent();
        event.setName("rmiEvent");
        event.setBigDecimalValue(BigDecimal.TEN);
        event.setBigIntegerValue(BigInteger.TEN);
        UpdateData data = new UpdateData();
        data.setName("data");
        data.setBigDecimalValue(BigDecimal.TEN);
        data.setBigIntegerValue(BigInteger.TEN);
        event.setData(data);
        List<Boolean> result = (List<Boolean>) client.call(new String[] { "127.0.0.1:2088", "127.0.0.1:2089" }, event);// 同步调用

        want.number(result.size()).isEqualTo(2);
        want.bool(result.get(0)).is(true);
View Full Code Here

Examples of com.alibaba.otter.shared.communication.app.event.AppUpdateEvent.UpdateData

        CommunicationRegistry.regist(AppEventType.update, service);
        AppUpdateEvent event = new AppUpdateEvent();
        event.setName("rmiEvent");
        event.setBigDecimalValue(BigDecimal.TEN);
        event.setBigIntegerValue(BigInteger.TEN);
        UpdateData data = new UpdateData();
        data.setName("data");
        data.setBigDecimalValue(BigDecimal.TEN);
        data.setBigIntegerValue(BigInteger.TEN);
        event.setData(data);
        List<Boolean> result = (List<Boolean>) client.call(new String[] { "127.0.0.1:1099", "127.0.0.1:1098" }, event);// 同步调用

        want.number(result.size()).isEqualTo(2);
        want.bool(result.get(0)).is(true);
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.