org.indy
Class IndyThread.StopMode

java.lang.Object
  |
  +--org.indy.IndyThread.StopMode
Enclosing class:
IndyThread

public static class IndyThread.StopMode
extends java.lang.Object

An enumertaed class describing the possible stopping modes for an IndyThread. TERMINATE means that any call to stop will terminate the thread, and the IndyThread instance will be unuseable. SUSPEND means that the thread will pause and can be restarted.

Version:
1.0
Author:
OTG
See Also:
IndyThread

Field Summary
static IndyThread.StopMode SUSPEND
          Used to signal that the enclosing IndyThread should suspend when stop is called.
static IndyThread.StopMode TERMINATE
          Used to signal that the enclosing IndyThread should terminate when stop is called.
 
Method Summary
 java.lang.String toString()
          Returns a string representation of this StopMode as a friendly name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TERMINATE

public static final IndyThread.StopMode TERMINATE
Used to signal that the enclosing IndyThread should terminate when stop is called.
See Also:
IndyThread.stop()

SUSPEND

public static final IndyThread.StopMode SUSPEND
Used to signal that the enclosing IndyThread should suspend when stop is called.
See Also:
IndyThread.stop()
Method Detail

toString

public java.lang.String toString()
Returns a string representation of this StopMode as a friendly name.
Overrides:
toString in class java.lang.Object
Returns:
A user friendly string for this StopMode


Copyright © 2002-2002 IndyJ. All Rights Reserved.