org.oXML.type
Class ThreadNode

java.lang.Object
  extended byorg.oXML.type.AbstractNode
      extended byorg.oXML.type.ThreadNode
All Implemented Interfaces:
Node, java.lang.Runnable

public class ThreadNode
extends AbstractNode
implements java.lang.Runnable

ObjectBox - o:XML compiler and interpreter for more information see http://www.o-xml.org/objectbox Copyright (C) 2002/2003 Martin Klang, Alpha Plus Technology Ltd email: martin at hack.org This class has been generated from an o:XML template


Field Summary
static Type TYPE
           
 
Fields inherited from class org.oXML.type.AbstractNode
me
 
Constructor Summary
ThreadNode()
          generated constructor, called directly
ThreadNode(AbstractNode me, Type type)
           
ThreadNode(Function run)
           
ThreadNode(ThreadNode other, boolean deep)
          generated constructor, called directly
 
Method Summary
 Node copy(boolean deep)
           
 Node daemon()
           
 Node daemon(Node on)
           
 Node doRun()
           
 Node doWait()
           
 void init()
           
 void init(ThreadNode other, boolean deep)
           
 Node priority()
           
 Node priority(Node order)
           
 void run()
           
 void setDaemon(boolean isDaemon)
           
 void setPriority(int order)
           
 Node sleep(Node millis)
           
 Node start()
           
 Node waitAndReturn()
           
 Node yield()
           
 
Methods inherited from class org.oXML.type.AbstractNode
addChildNode, booleanValue, byteValue, cast, cast, equals, equals, getAttribute, getAttributes, getAttributeValue, getChildNodes, getDocument, getInstance, getName, getNextSibling, getParent, getPreviousSibling, getType, hashCode, hasInstance, insert, numberValue, removeChild, setAttribute, setAttribute, setInstance, setName, setParent, stringValue, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final Type TYPE
Constructor Detail

ThreadNode

public ThreadNode(AbstractNode me,
                  Type type)

ThreadNode

public ThreadNode(Function run)

ThreadNode

public ThreadNode(ThreadNode other,
                  boolean deep)
generated constructor, called directly


ThreadNode

public ThreadNode()
generated constructor, called directly

Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

setPriority

public void setPriority(int order)

setDaemon

public void setDaemon(boolean isDaemon)

init

public void init(ThreadNode other,
                 boolean deep)

init

public void init()
Overrides:
init in class AbstractNode

start

public Node start()
           throws ObjectBoxException
Throws:
ObjectBoxException

sleep

public Node sleep(Node millis)
           throws ObjectBoxException
Throws:
ObjectBoxException

priority

public Node priority(Node order)

priority

public Node priority()

daemon

public Node daemon(Node on)

daemon

public Node daemon()

yield

public Node yield()

doWait

public Node doWait()
            throws ObjectBoxException
Throws:
ObjectBoxException

doRun

public Node doRun()

waitAndReturn

public Node waitAndReturn()
                   throws ObjectBoxException
Throws:
ObjectBoxException

copy

public Node copy(boolean deep)
Specified by:
copy in interface Node