[jboss-user] [Remoting] - Re: InvokerCallbackHandler.getSessionId() ?

fatbatman do-not-reply at jboss.com
Sat Feb 24 13:09:07 EST 2007


Hi Tom,

Yes I'd like to know which client the InvokerCallbackHandler is from so I can send a callback to a specific client.  

I'm investigating using remoting with something akin to a online chat system.
I was planning on having some kind of custom login method, in which I would get the InvocationRequest.getSessionId() and link it to the username.  I'd then like to link the InvokerCallbackHandler to that username also, so its possilbe to send a callback to a specific user.  

For example if user1 wants to send a chat message to user2 only.

If there is some other best practice for this kind of situation please let me know.

Thanks, James


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021692#4021692

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021692



More information about the jboss-user mailing list