Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error handling for sync invocations in Java
02-12-2011, 04:16 PM
Post: #20
RE: Error handling for sync invocations in Java
(02-12-2011 11:54 AM)simoncn Wrote:  There's still a small problem, though. If I then replug the server's network cable, the server device is no longer visible to the control point. Refreshing the control point's device list doesn't help, but it does work if I restart the control point. The latter suggests that this is probably an issue with the control point stack.

While it'd be preferable for the device list to automatically handle this case, note that you can handle it in client code without restarting the cp stack. You should be able to listen for changes in available subnets and manually select a previously active subnet when it reappears. (Sorry, I'm not sure of the Java APIs for this off-hand.)
Find all posts by this user


Messages In This Thread
RE: Error handling for sync invocations in Java - simonc - 02-12-2011 04:16 PM

Forum Jump: