Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to get information about clients which are connected?  RSS feed

 
herbert christy
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am kind a new in RMI.
I created RMI application and
wanted to add a function to the server
to monitor clients which are connected.
Is there any method to do this?

Thanks..
Herbert
 
Henry Karpynskyi
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by herbert christy:
Hi,
I am kind a new in RMI.
I created RMI application and
wanted to add a function to the server
to monitor clients which are connected.
Is there any method to do this?

Thanks..
Herbert

For example you can log any invokation of remote method.
PS. You can see current client using method getClientHost if you inherit from java.rmi.RemoteServer
[ July 22, 2002: Message edited by: Henry Karpynskyi ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!