Package com.alibaba.otter.shared.communication.app.event

Examples of com.alibaba.otter.shared.communication.app.event.AppFindEvent


    }

    @Test(expectedExceptions = CommunicationException.class)
    public void testRmi_FindEvent_Exception() { // 返回异常结果
        CommunicationRegistry.regist(AppEventType.find, service);
        AppFindEvent event = new AppFindEvent();
        event.setName("rmiEvent-Not-Found");

        client.call("127.0.0.1:2088", event);// 同步调用
    }
View Full Code Here


    }

    @Test(expectedExceptions = CommunicationException.class)
    public void testRmi_FindEvent_Exception() { // 返回异常结果
        CommunicationRegistry.regist(AppEventType.find, service);
        AppFindEvent event = new AppFindEvent();
        event.setName("rmiEvent-Not-Found");

        client.call("127.0.0.1:1099", event);// 同步调用
    }
View Full Code Here

TOP

Related Classes of com.alibaba.otter.shared.communication.app.event.AppFindEvent

Copyright © 2018 www.massapicom. 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.