[JXPath] Iterators and Pointers (on partial matches)

2009-06-03 Thread Andrew Hughes
Hi Again, I'm trying to resolve an issue I have trying to step through object's slightly *different* to the JXPath ReferenceImpl. Say I have String expression = "/Earth/Australia/NSW/Sydney/Utopia"; Since "Utopia" is a mythical place that never exists I'll never get a result from selectNode("/Eart

Re: SCXML Managing a large number of long-lived state machines.

2009-06-03 Thread Rahul Akolkar
On Tue, Jun 2, 2009 at 2:23 PM, Lee, Cheryl - ES/RDR -Gil wrote: > Mark, > > We are using Rational Software Architect (RSA) to draw the UML state machines > and "transform" them to SCXML (a plugin available for RSA). Right, if using RSA, you can find the plugin here: http://www.alphaworks.ib

RE: How to tell when TelnetClient has finished receiving

2009-06-03 Thread Juan Ramirez
You can check the available characters on the input stream like this if (in.available() == 0) { // Nothing left on the stream to read } It's probably better to check for a terminating token since the test above does not guarantee that the sender is done sending, only that there is not