RD API bug
Brought to you by:
changliu
Hi, Chitra,
I found a bug. Since you add P2P stuff in
ResourceDirectory.java, the query function does not
work any more.
I spent some time. finding out that when you return the
query result, some p2p stuff breaks the API.
I just commented them out, and checked modified file
in. If you do update, you will see it. Hope you can fix it.
Xiaodong
Logged In: YES
user_id=770163
hey li,
What p2p stuff was breaking the code??? I ll check that rite
away
Logged In: YES
user_id=770163
hey li,
What p2p stuff was breaking the code??? I ll check that rite
away
Logged In: YES
user_id=770163
hey li,
What p2p stuff was breaking the code??? I ll check that rite
away
Logged In: YES
user_id=770163
Hey Li,
The networking part is not completed. I am working on a
separate copy and so .. please dont use :
public java.lang.Object[] queryResource(java.lang.String uuid,
java.lang.Object[][] Prop,
int max,
java.lang.Object[] resProp)
Non-p2p queries for a resource and returns the result in an
array
Instead of:
public java.lang.Object[] queryResource(java.lang.String uuid,
java.lang.Object[][] Prop,
int max,
java.lang.Object[] resProp,
int hopNo)
P2p queries for a resource and returns the result in an array
If u use the previous API .. then it is non P2P..
Logged In: YES
user_id=770163
Hey Li,
The networking part is not completed. I am working on a
separate copy and so .. please dont use :
public java.lang.Object[] queryResource(java.lang.String uuid,
java.lang.Object[][] Prop,
int max,
java.lang.Object[] resProp)
Non-p2p queries for a resource and returns the result in an
array
Instead of:
public java.lang.Object[] queryResource(java.lang.String uuid,
java.lang.Object[][] Prop,
int max,
java.lang.Object[] resProp,
int hopNo)
P2p queries for a resource and returns the result in an array
If u use the previous API .. then it is non P2P..