Erlang JInterface: OtpNode vs OtpSelf

74 views Asked by At

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.

1

There are 1 answers

0
2240 On

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.