EsotericSoftware / EsotericSoftware/kryonet
Website's RMI Example is inconsistent with JavaDoc
- Dominant language
- Java
- Stars
- 1.9k
- Forks
- 411
- PR merge metrics
- No merged PRs in 30d
Description
_From [tvtro...@gmail.com](https://code.google.com/u/113033524160698594806/) on October 04, 2013 01:03:15_
What steps will reproduce the problem?
1. Visit the project website.
https://code.google.com/p/kryonet/#Remote_Method_Invocation
What is the expected output? What do you see instead?
This is what is currently on the site.
~ ~ ~ ~
SomeObject someObject = ObjectSpace.getRemoteObject(connection, 42, SomeObject.class);
((RemoteObject)someObject).setNonBlocking(true, true);
someObject.doSomething();
~ ~ ~ ~
This and the other RMI examples depict a setNonBlocking method with two boolean args.
However according to the downloaded zip's javadoc, the RemoteObject class has two _separate_ methods, each with a single boolean arg.
- setNonBlocking( boolean nonBlocking )
- setTransmitReturnValue( boolean transmit )
I assume the javadoc is authoritative. I haven't tried out the library yet.
What version of the product are you using?
KryoNet 2.20
_Original issue: http://code.google.com/p/kryonet/issues/detail?id=41_
Contributor guide
Assessment
This issue has not been assessed yet.