I have to logoff some clients with client.rejectConnection().
My problem is that does not work outside onConnect method.
I cannot use other method like client.setShutdownClient(true). The message on the Flash client must be reject and no disconnect because these are treated differently.
I seek a solution to reject clients outside onConnect method if this is possible.