Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Calling remote method from RMI Class  RSS feed

 
Rob Brew
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all.

I'm building a networked version of noughts and crosses using networking and RMI. The RMI client calls a remote method updateBoard(Board) to the server which then handles the updates. My RMI class at the server end uses a call to a static method of the main class for that server. How can i make the RMI class make a call to a different class when that client doesn't support the main method call.


Hope I've been clear, if not let me know.

Rob.
 
K. Tsang
Bartender
Posts: 3630
16
Firefox Browser Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rob Brew wrote:How can i make the RMI class make a call to a different class when that client doesn't support the main method call.


I don't quite get how you are setting up the interaction. How are you designing the interface the server uses?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!