Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error handling for sync invocations in Java
12-12-2011, 10:00 AM (This post was last modified: 19-01-2012 10:43 AM by simonc.)
Post: #32
RE: Error handling for sync invocations in Java
(09-12-2011 04:25 PM)simoncn Wrote:  How about sending a deviceAdded callback for B without sending a deviceRemoved callback for A? I think this allows all scenarios to work correctly:

ohNet is slightly deficient in its handling of multihomed devices that announce themselves at more than one address on a single subnet. I believe such devices are very rare; the conditions necessary to demonstrate ohNet's deficiency are possibly even more rare.

We will address this but its a very low priority so will probably take us a few months to find time for. Any future fix will likely be transparant to clients. Passing several devices with identical udns to clients wouldn't work at present - udn is the only way for clients to distinguish between CpDevice instances. Anyway, leaving this all to client code would make use of device lists too complex.
Find all posts by this user


Messages In This Thread
RE: Error handling for sync invocations in Java - simonc - 12-12-2011 10:00 AM

Forum Jump: