Revision history [back]

click to hide/show revision 1
initial version

Your signature should be:

//note the signature matches the actual AllJoyn interface not the Java responseCode type
public GetAllIDsValues GetAllIDs() throws BusException;

AllJoyn methods support unsigned types. While Java does not. Since Java does not support unsigned types you are forced to place the unsigned type into a container that only supports a Signed type. This is something you must be aware of. If the value returned that is larger then the maximum value supported by Java Integers (Integer.MAX_VALUE = 2147483647) then the responseCode should be long not int.