[jboss-user] [JBoss Remoting] - Can I get CallbackHandleObject on server side

Dmitry Egorov do-not-reply at jboss.com
Tue Mar 22 06:58:31 EDT 2011


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-callbacks.html http://www.mastertheboss.com/jboss-application-server/155-jboss-remoting-callbacks.html
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&containerType=14&container=2050]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110322/ca756878/attachment.html 


More information about the jboss-user mailing list