Sorry for bothering you,

ive found the solution "IConnection.close();".

 

sometimes im kind of blind.

sunny days

-Adam-


> Von: "Adam Kubina" <[EMAIL PROTECTED]>
> An: [email protected]
> Betreff: disconnecting a client from an already established netconnection
> Datum: Sun Aug 27 18:26:05 GMT+00:00 2006

Hi there,

i am new to java so please excuse my leak of knowledge.

i want to disconnect a client by server. the client should receive a "NetConnection.Connect.Closed" onStatus event.

so far i figured out, that "rejectClient" at  "appConnect,roomConnect,Connect.." will do so.

But how to disconnect a established connection?

ive tried "disconnect" with a previously stored IConnection to disconnect a particular client connection, but nothing. "disconnect" just get called when a client is disconnecting.

<--FMS:

function disconnectAll(){
    for (i=0; i < application.clients.length; i++){
        application.disconnect(application.clients[i]);
    }
}

-->

is there a similar way in red5(compared with FMS)?

 

any help is much appreciated.

-Adam-

gut abgehangener GOAner - since 1992



_________________________________
Stelle Deine Fragen bei Lycos iQ http://iq.lycos.de/qa/ask/


Brauchst du eine Schocktherapie gegen den Alltag? Lächle! Die warme Sonne von Ibiza und ein bisschen Sand vom Mittelmeer ist die Therapie, die du brauchst. Plan deinen Urlaub in Spanien auf www.spain.info

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to