Dmitry Egorov [
http://community.jboss.org/people/dima_ts] created the discussion
"Can I get CallbackHandleObject on server side"
To view the discussion, visit:
http://community.jboss.org/message/594727#594727
--------------------------------------------------------------
Hi, everybody!
I am newbie in JBoss remoting.
I found nice article about Callbacks
http://www.mastertheboss.com/jboss-application-server/155-jboss-remoting-...
http://www.mastertheboss.com/jboss-application-server/155-jboss-remoting-...
Everything works fine, but i need one more.
Some code from sample.
Client side:
1. String callbackHandleObject = "myCallbackHandleObject";
2. remotingClient.addListener(callbackHandler, callbackLocator, callbackHandleObject);
Server side:
1. public void addListener(InvokerCallbackHandler callbackHandler)
2. {
3. System.out.println("Adding callback listener.");
Can i get myCallbackHandleObject in addListener() context and how?
I know, i can get this object in context of client method handleCallback(Callback arg0),
but that don't suite.
Some explanations.
This info i plan to use for some filtration for data pused by callback to client.
Thanks in advance!
Sincerely, Egorov Dmitry.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/594727#594727]
Start a new discussion in JBoss Remoting at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]