Voyager ORB

com.objectspace.voyager
Class Voyager

java.lang.Object
  |
  +--com.objectspace.voyager.Voyager

public class Voyager
extends java.lang.Object

Voyager contains static methods for starting, stopping, and monitoring the Voyager system. You cannot create an instance of Voyager.

Version:
3.0

Method Summary
static void addSystemListener(SystemListener listener)
          Add the specified listener to my list of system listeners.
static java.lang.ThreadGroup getSystemThreadGroup()
          Return the system ThreadGroup.
static java.lang.String getVersion()
          Return Voyager version.
static boolean isStarted()
          Return true if Voyager has is started.
static void removeSystemListener(SystemListener listener)
          Remove the specified listener from my list of system listeners.
static void shutdown()
          Shutdown Voyager.
static void startup()
          Start Voyager as a client that doesn't initially accept incoming messages.
static void startup(java.lang.Object object, java.lang.String url)
          Start a Voyager applet or servlet as a server that accepts incoming messages on the specified URL.
static void startup(java.lang.String url)
          Start a Voyager program as a server that accepts incoming messages on the specified URL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isStarted

public static boolean isStarted()
Return true if Voyager has is started.

getSystemThreadGroup

public static java.lang.ThreadGroup getSystemThreadGroup()
Return the system ThreadGroup.

getVersion

public static java.lang.String getVersion()
Return Voyager version.

startup

public static void startup()
                    throws StartupException
Start Voyager as a client that doesn't initially accept incoming messages.
Throws:
StartupException - Voyager was already started.

startup

public static void startup(java.lang.Object object,
                           java.lang.String url)
                    throws StartupException
Start a Voyager applet or servlet as a server that accepts incoming messages on the specified URL.
Parameters:
object - The applet or servlet.
url - The required URL.
Throws:
StartupException - Voyager was already started or a network error occurred.

startup

public static void startup(java.lang.String url)
                    throws StartupException
Start a Voyager program as a server that accepts incoming messages on the specified URL.
Parameters:
url - The required URL.
Throws:
StartupException - Voyager was already started or a network error occurred.

shutdown

public static void shutdown()
Shutdown Voyager. After completion, no more incoming connections or messages are accepted.

addSystemListener

public static void addSystemListener(SystemListener listener)
Add the specified listener to my list of system listeners.
Parameters:
listener - The listener to add.

removeSystemListener

public static void removeSystemListener(SystemListener listener)
Remove the specified listener from my list of system listeners.
Parameters:
listener - The listener to remove.

ObjectSpace Inc.

(c) Copyright 1997-1999 ObjectSpace, Inc.
14850 Quorum Drive, Suite 500
Dallas, Texas 75240