Browser/Runnable and communicating back to client from non-web threads

View: New views
2 Messages — Rating Filter:   Alert me  

Browser/Runnable and communicating back to client from non-web threads

by Robert Dietrick-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Are there any published docs on how to communicate back to browsers
from non-web threads with DWR 3.0?  I can see from the Javadocs that
you're supposed to use a Browser object and pass it a Runnable, but I
don't see any API calls to actually send data back to a client.  I'm
looking for something analogous to the old
ScriptSession.addScript(ScriptBuffer) method.

Thanks.

-rob

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Browser/Runnable and communicating back to client from non-web threads

by davidmarginian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Take a look at the examples in the dwr.war.

Robert Dietrick wrote:

> Are there any published docs on how to communicate back to browsers
> from non-web threads with DWR 3.0?  I can see from the Javadocs that
> you're supposed to use a Browser object and pass it a Runnable, but I
> don't see any API calls to actually send data back to a client.  I'm
> looking for something analogous to the old
> ScriptSession.addScript(ScriptBuffer) method.
>
> Thanks.
>
> -rob
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...