Tuesday, October 5, 2010

Comet help about code

I read the comet in
http://code.google.com/p/gwt-comet/source/browse/trunk/src/net/zschech/gwt/chat/server/ChatServiceImpl.java?r=98

Can explain to me about the code, because i dont undestand:

public void send(String message) throws ChatException {

.
.
.

for (Map.Entry<String, CometSession> entry :
users.entrySet()) {
entry.getValue().enqueue(chatMessage);
}
}

thaks

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate