资 源 简 介
The JInterface API provides a solid framework for communicating between Java and Erlang. The Java side code tends to be very verbose.
This project simplifies the pattern matching allowing such code as
IIProcess process = erlang4J.spawn(// new MessageAdapter("{Pid,{status,Status}}") { public void process(IMessageContext context) { ioFormat("Status: %s from Pid %s", // context.getString("Status"), context.getPid("Pid")); } }, new MessageAdapter("{Pid,{command1,Param1,Param2}}") { public void process(IMessageContext context) { ioFormat("Command1(%s,%s) from Pid %s", // context.getString("Param1"), context.getString("Param2"), context.getPid("Pid")); } }, new MessageAdapter("Any") { public void process(IMessageContext context) { ioFormat("unexpected command %s", context.getRaw("Any"
文 件 列 表
documentation
com
allclasses-frame.html
allclasses-noframe.html
constant-values.html
deprecated-list.html
help-doc.html
index-all.html
index.html
overview-frame.html
overview-summary.html
overview-tree.html
serialized-form.html
example
messageProcessor
rpc
sendMessage
swingClient
lib
OtpErlang.jar
erlang4j-0.3.2.jar
junit.jar
src
java
unit
simpleServer.erl
License.txt
OpenSourceProjectsUsed.txt
ReleaseNotes.txt