• Post Reply Bookmark Topic Watch Topic
  • New Topic

calling same thread object in the other thread object method-very very urgent

 
chandra sekhar
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have set of obejcts of UserThread class
in userInfo method of UserThread
class UserThread
{
-----
public void userInfo(String strname)
{
UserThread u1= ChatRoom.getUserInfo(name)// this returns another thread of user strname
Iam accessing strUser properties using u1.
But when ever userInfo method is called
Iam getting socket Exception
}
--------
}
How can I access one thread properties(public) in other thread
of same class
------------------
chandu
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!