client=new Client(); _clients.put(client.getId(),client);
client=getClient((String)message.get("authScheme"),(String)message.get("authUser"),(String)message.get("authToken"));
        public void handle(Client client, Transport transport, Map message)            throws IOException        {            if (client!=null)                throw new IllegalStateException();            client=new Client();            _clients.put(client.getId(),client);            String channel_id="/meta/connections/"+client.getId();            Channel channel=new Channel(channel_id,Bayeux.this);            _channels.put(channel_id,channel);            // TODO actually do authentication            Map reply=new HashMap();            reply.put(CHANNEL_ATTR,META_HANDSHAKE);                        reply.put("supportedConnectionTypes",new String[] { "long-polling", "iframe" });            reply.put("authSuccessful",Boolean.TRUE);            reply.put(CLIENT_ATTR,client.getId());            reply.put("version",new Double(0.1));            reply.put("minimumVersion",new Double(0.1));            transport.send(reply);        }