Hi James,

I think the reason your initial question was a bit ambiguous (besides the fact 
that addListener() isn't a method of InvokerCallbackHandler) might have been 
that, on the client side, an InvokerCallbackHandler can be reused by many 
Clients and callback Connectors, so it's not associated with a particular 
Client.

On the server side, however, when the addListener() method is called on your 
ServerInvocationHandler, the InvokerCallbackHandler that gets passed *is* 
associated with a particular call to Client.addListener().  You can get the 
sessionId of that Client by casting the InvokerCallbackHandler to 
org.jboss.remoting.callback.ServerInvokerCallbackHandler and calling its method 
getClientSessionId().

Hope that helps.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023358
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to