If I understand you correctly, you want to be able to identify the callback handler on the client from within the invocation handler on the server side. If this is what you are asking, then yes, this can be done. However, it requires a casting of the InvokerCallbackHandler added within the ServerInvocationHandler to ServerInvokerCallbackHandler, on which you can call getClientSessionId() to get the client id.
I have added a test case that demonstrates using two clients with a distinct callback handler each. The classes are:
Will have to either checkout the remoting project or can browse the source at http://viewcvs.labs.jboss.com/cgi-bin/viewcvs.cgi/JBossRemoting/src/tests/org/jboss/test/remoting/callback/pull/
Thanks we got it. for further clarifications we will post.
once again thanks.