Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reconnecting to a server

 
Marcelo Ortega
Ranch Hand
Posts: 528
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any way that once i connect to a server that i can disconnect and provide another ip to connect to (using RMI that is)??
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11865
194
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Marzo,

From the client side, you have just a local reference to the object you looked up - destroy it / replace it and you can connect to any other object on any other server.

I don't believe this is necessary for the SCJD project though.

Regards, Andrew
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic