Hi all,<div><br></div><div>I am currently working on GUI by using Jinterface. I am try to send a message from an alive node made by Jinterface library in java to the alive normal node on shell.</div><div><br></div><div>In this way it works and another module gets the message:</div>
<div><br></div><div>OtpErlangAtom ok = new OtpErlangAtom("ok");</div><div>mbox.send("clientChat", "chat_c@" + computername, ok); </div><div><br></div><div>The problem is, I need to pass the node() by message for the reply. Therefore, I call the function in this way, and there will be error notification!, </div>
<div><div><br></div><div><b>OtpNode myNode = new OtpNode("bar");</b></div><div><b>mbox.send("clientChat", "chat_c@" + computername, myNode );</b></div></div><div><br></div><div>or </div><div>
<br></div><div><b>OtpNode myNode = new OtpNode("bar");</b></div><div><b>mbox.send("clientChat", "chat_c@" + computername, myNode.node() );</b></div><div><br></div><div>Is there any hint or solution??</div>
<div><br></div><div>Thanks,</div>