Hi Seth,
 
thank you, and all those answers that i've received. In that sample app,
every client receive an event, there is an way that i may filter some
clients in server code, instead of ignoring it on the cliente side?
 
Ive seen that there is a property on consumer class that i'ld put an
expression for a validation, that kind of filter its done on client
side?
 
Thank in advance,
Luciano.

________________________________

De: [email protected] [mailto:[EMAIL PROTECTED] Em
nome de Seth Hodgson
Enviada em: quinta-feira, 26 de junho de 2008 13:46
Para: [email protected]
Assunto: RE: [flexcoders] Server to client calls



Hi Luciano,

Take a look through the sample apps. One of them is a stock ticker
sample, and tick updates (messages) that are pushed/dispatched to
subscribed Consumers are generated directly by Java code on the server.

You could follow the same approach, and generate messages on the server
that your clients handle by invoking local methods. 
But there's nothing like client.call(...) on the server in BlazeDS and
LCDS at this point.

Best,
Seth

From: [email protected] <mailto:flexcoders%40yahoogroups.com>
[mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
] On Behalf Of Luciano Manerich Junior
Sent: Monday, June 23, 2008 12:16 PM
To: [email protected] <mailto:flexcoders%40yahoogroups.com> 
Subject: RES: [flexcoders] Server to client calls

Hi,
 
i've just seen the way with Producer/Consumer, but, its just too much
"automated". Is there an way that i may dispatch a consumer event to
flex within Java?
 
I need to dispatch an event, to some clients, without any user
interaction.
 
In FMS, there is a collection of the current clients, and i may interact
with that to call some methods.

________________________________________
De: [email protected] <mailto:flexcoders%40yahoogroups.com>
[mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
] Em nome de Luciano Manerich Junior
Enviada em: segunda-feira, 23 de junho de 2008 15:32
Para: [email protected] <mailto:flexcoders%40yahoogroups.com> 
Assunto: [flexcoders] Server to client calls
Hi there,
 
It is possible with LCDS, BlazeDS or some similar DS to call flex client
methods from the server? If not, this is only possible with FMS?
 
Thanks in advance. 


 

Reply via email to