Package org.erlide.runtime.api

Examples of org.erlide.runtime.api.IOtpRpc.cast()


        } catch (final RpcException e) {
            r = null;
        }
        assertThat("rpc", r, is(not(nullValue())));
        try {
            site.cast("erlang", "halt", "i", 0);
        } catch (final RpcException e1) {
        }
        expect(nodeProxy, process, 0, State.TERMINATED);
    }
View Full Code Here


    @Test
    public void shutdownIsDetected() {
        final IOtpRpc site = nodeProxy.getOtpRpc();
        try {
            site.cast("erlang", "halt", "i", 0);
        } catch (final RpcException e1) {
        }
        expect(nodeProxy, process, 0, State.TERMINATED);
    }
View Full Code Here

    @Test
    public void exitCodeIsDetected() {
        final IOtpRpc site = nodeProxy.getOtpRpc();
        try {
            site.cast("erlang", "halt", "i", 3);
        } catch (final RpcException e1) {
        }
        expect(nodeProxy, process, 3, State.TERMINATED);
    }
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.