That would work if we could trust that our SWF hasn't been hacked.  We have people trying to hack our clients all the time and they're often the ones we want to disconnect in the first place.  If we relied on the client to disconnect itself, these guys would prevent that message from getting through.

-Tom

On 7/23/06, James Ward <[EMAIL PROTECTED]> wrote:

I can't find anything in the api:
http://livedocs.macromedia.com/flex/2/fds2javadoc/index.html

However, this could be easily achived my sending a message to the flex
client (via messaging) which told the flex app to disconnect.

-James



On Sat, 2006-07-22 at 14:28 -0700, Tom Bray wrote:
> No, I'm talking about disconnecting on the server-side with Java. In
> other words, getting a reference to the server-side client object
> using the FDS API and disconnecting it.
>
> -Tom
>
>
>
> On 7/22/06, James Ward <[EMAIL PROTECTED]> wrote:
> Yup. Look into the disconnect() method on Consumer and
> DataService
> objects.
> http://livedocs.macromedia.com/flex/2/langref/mx/messaging/Consumer.html#disconnect()
> http://livedocs.macromedia.com/flex/2/langref/mx/data/DataService.html#disconnect()
>
> -James
>
>
>
>
> On Fri, 2006-07-21 at 14:07 -0700, Tom Bray wrote:
> > I'm coming to FDS from FMS2 where I have the ability to
> disconnect any
> > client for any reason -- say after a period of inactivity or
> because
> > an administrator of the chat has banned a user. Can I do
> this in FDS?
> >
> > Thanks,
> >
> > Tom
> >
> >
> >
> >
>
>
>
>
>
>


__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to