Class horb.orb.ThreadStatus
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class horb.orb.ThreadStatus

java.lang.Object
   |
   +----horb.orb.ThreadStatus

public class ThreadStatus
extends Object
implements Cloneable
container class to carry status of threads.

Variable Index

 o classNo
class number of the currently being called method.
 o clientName
client's hostname.
 o currentTime
the time of request.
 o lastClassNo
class number of the lastly called method.
 o lastMethodNo
method number of the lastly called method.
 o major_version
major version number of peer proxy class.
 o methodNo
method number of the currently being called method.
 o minor_version
minor version number of peer proxy class.
 o netAddress
client's network address (e.g.
 o objectID
object ID of this thread.
 o port
port of this thread
 o priority
threads' priority
 o requests
number of calls for methods.
 o startTime
start time of this thread.
 o threadName
name of this HORB thread.
 o userName
client's username.

Constructor Index

 o ThreadStatus()

Method Index

 o get()
 o list(PrintStream)

Variables

 o threadName
  public String threadName
name of this HORB thread. You can suspend, resume, stop this thread with class HORBAgent.
 o objectID
  public String objectID
object ID of this thread.
 o major_version
  public short major_version
major version number of peer proxy class.
 o minor_version
  public short minor_version
minor version number of peer proxy class.
 o priority
  public int priority
threads' priority
 o port
  public int port
port of this thread
 o netAddress
  public byte netAddress[]
client's network address (e.g. IP address) in network byte order. This can be a 64bit IP address.
 o clientName
  public String clientName
client's hostname. this parameter can be obtained if clientName parameter is true when HORBAgent.getServerStatus() is called. This option causes the operation quite slow. However, we don't have any means to get hostname from network address, because InetAddress.getNameByAddr() is a private method (;-<).
 o userName
  public String userName
client's username. If null, it is anonymous access.
 o startTime
  public long startTime
start time of this thread. Milli sec since epoch.
 o currentTime
  public long currentTime
the time of request. Milli sec since epoch. currentTime-startTime shows life time of this thread.
 o requests
  public int requests
number of calls for methods.
 o methodNo
  public short methodNo
method number of the currently being called method. Zero if no method is under execution currently. You can find method number in Class_Skeleton.dispatch().
 o classNo
  public short classNo
class number of the currently being called method. This value is corresponding to the methodNo. By using classNo and methodNo, you can specify what method is called now. If a method of a class is under execution and the class is the 3rd subclass of java.class.Object, the class has class number 3.
 o lastMethodNo
  public short lastMethodNo
method number of the lastly called method. Zero if no method has been executed.
 o lastClassNo
  public short lastClassNo
class number of the lastly called method.

Constructors

 o ThreadStatus
  public ThreadStatus()

Methods

 o get
  public synchronized ThreadStatus get()
 o list
  public void list(PrintStream ps)

All Packages  Class Hierarchy  This Package  Previous  Next  Index