MCPcopy Create free account
hub / github.com/andytill/erlyberly / receiveRPC

Method receiveRPC

src/main/java/erlyberly/node/NodeAPI.java:177–188  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

175 }
176
177 private OtpErlangObject receiveRPC() throws IOException, OtpErlangException {
178 OtpErlangObject result = OtpUtil.receiveRPC(mbox);
179
180 // hack to support certain projects, don't ask...
181 if(result instanceof OtpErlangTuple) {
182 if(new OtpErlangAtom("add_locator").equals(((OtpErlangTuple) result).elementAt(0))) {
183 result = receiveRPC();
184 }
185 }
186
187 return result;
188 }
189
190 private static byte[] loadBeamFile() throws IOException {
191 InputStream resourceAsStream = OtpUtil.class.getResourceAsStream(ERLYBERLY_BEAM_PATH);

Callers 13

loadRemoteErlyberlyMethod · 0.95
retrieveProcessInfoMethod · 0.95
requestFunctionsMethod · 0.95
startTraceMethod · 0.95
stopTraceMethod · 0.95
collectTraceLogsMethod · 0.95
collectSeqTraceLogsMethod · 0.95
seqTraceMethod · 0.95
getProcessStateMethod · 0.95
erlangMemoryMethod · 0.95
callGraphMethod · 0.95

Calls 2

receiveRPCMethod · 0.95
equalsMethod · 0.45

Tested by

no test coverage detected