com.sun.jini.example.basic.ex1.misc
Class TestRmidUp

java.lang.Object
  extended bycom.sun.jini.example.basic.ex1.misc.TestRmidUp

public class TestRmidUp
extends java.lang.Object

Simple program that blocks given amount of time until the rmid is up


Constructor Summary
TestRmidUp()
           
 
Method Summary
static boolean activationUp(int n)
          Tests for the existence of the ActivationSystem (RMID).
static void main(java.lang.String[] argv)
           
static void printUsage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestRmidUp

public TestRmidUp()
Method Detail

main

public static void main(java.lang.String[] argv)

activationUp

public static boolean activationUp(int n)
Tests for the existence of the ActivationSystem (RMID). This method will always make at least one attempt to verify the existence of a a running ActivationSystem.

Parameters:
n - int value representing the number of additional attempts (beyond the initial attempt) to wait for the activation system to come up. This values translates directly to the number of seconds to wait for the activation system.
Returns:
true if the activation system is up and running; false otherwise

printUsage

public static void printUsage()


Copyright © 2003 Sun Microsystems Corp. All Rights Reserved.