1

I'm studying the Erlang JInterface package, and I'm not clear on the difference between the OtpNode class and the OtpSelf class and how they're intended to be used.

Steve Vinoski
  • 19,847
  • 3
  • 31
  • 46
CNWWH
  • 9
  • 4
  • Have you read http://erlang.org/doc/apps/jinterface/java/com/ericsson/otp/erlang/OtpSelf.html and http://erlang.org/doc/apps/jinterface/java/com/ericsson/otp/erlang/OtpNode.html? – Alexey Romanov Mar 25 '20 at 11:33

1 Answers1

1

I believe the main difference is:

This class is used when you do not wish to manage connections yourself - outgoing connections are established as needed, and incoming connections accepted automatically.

OtpNode is oriented towards managing the connections yourself.

2240
  • 1,547
  • 2
  • 12
  • 30