• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to get the client ID

 
tony sui
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Who can tell me how to get the client information as soon as connect with the server successfully via the RMI?
Thank you!
 
Sai Prasad
Ranch Hand
Posts: 560
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a method

in java.rmi.server.RemoteServer class that you may be able to use.
But why/what do you need to know about the client?
[ May 15, 2002: Message edited by: Sai Prasad ]
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Tony"-
Welcome to the JavaRanch! Please adjust your displayed name to meet the
JavaRanch Naming Policy.
You can change it
here.
Thanks! and welcome to the JavaRanch!
Mark
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh and Sai, he is trying to get the "Client ID" that is ever so elusive.
Tony - Sai will help you out.
Mark
 
tony sui
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sai Prasad
Thank you for your suggestion and I will tried later. I want to get the client ID just for I can view who login in my server.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic