EsotericSoftware / kryonet

TCP/UDP client/server library for Java, based on Kryo
BSD 3-Clause "New" or "Revised" License
1.82k stars 419 forks source link

(wiki)Remote Method Invocation #78

Open ghandhikus opened 9 years ago

ghandhikus commented 9 years ago

Remote Method Invocation, needs better explanation of "42" parameter. I might be blind, but I don't see any explanation of what this variable is.

NathanSweet commented 9 years ago

It's an arbitrary ID used to register and look up a class. It's also the meaning of life, the universe, and everything.

-Nate

On Wed, Oct 22, 2014 at 6:31 PM, ghandhikus notifications@github.com wrote:

Remote Method Invocation, needs better explanation of "42" parameter. I might be blind, but I don't see any explanation of what this variable is.

— Reply to this email directly or view it on GitHub https://github.com/EsotericSoftware/kryonet/issues/78.

ghandhikus commented 9 years ago

Well it doesn't explain if it can be 1 or just 42, or even if it needs to be different number than other classes.