> 1. generate id on server and send to client:
> token = ChannelServiceFactory.getChannelService().createChannel(name);
> return token;
>
> 3. send message (on server)
> ChannelService cs = ChannelServiceFactory.getChannelService();
> ChannelMessage cm = new ChannelMessage(token, "message");
> cs.sendMessage(cm);
>
> but then i get the error :/
>
> Any ideas?
>
> Thanks :)

ChannelMessage cm = new ChannelMessage(token, "message");
must be
ChannelMessage cm = new ChannelMessage(name, "message");

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to