uka.karmi
Class Info

java.lang.Object
  extended byuka.karmi.Info

public class Info
extends java.lang.Object

Contains information for debugging purposes.


Field Summary
static int HOST_UNIQUE
          Pseudo random number for uniquely identifying the current virtual machine.
private static int node
           
 
Constructor Summary
Info()
           
 
Method Summary
static int getNode()
           
static void setNode(int node)
          Sets the KaRMI node number.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HOST_UNIQUE

public static final int HOST_UNIQUE
Pseudo random number for uniquely identifying the current virtual machine. This number is used by KaRMI internally.


node

private static int node
Constructor Detail

Info

public Info()
Method Detail

setNode

public static void setNode(int node)
Sets the KaRMI node number. This method may be called only once by the application. The node number is used in debug messages to identify the originating node.


getNode

public static int getNode()
Returns:
the KaRMI node number.
See Also:
setNode(int)