com.nukernel.jdcf
Class RemoteThreadImpl

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--com.nukernel.jdcf.RemoteThreadImpl

public class RemoteThreadImpl
extends java.rmi.server.UnicastRemoteObject
implements RemoteThreadInterface

See Also:
Serialized Form

Field Summary
static int MAX_PRIORITY
           
static int MIN_PRIORITY
           
static int NORM_PRIORITY
           
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
RemoteThreadImpl()
           
RemoteThreadImpl(RemoteRunnable target)
           
RemoteThreadImpl(RemoteRunnable target, java.lang.String name)
           
 
Method Summary
static RemoteThreadInterface currentThread()
           
 java.lang.String getName()
           
 int getPriority()
           
 void interrupt()
           
static boolean interrupted()
           
 boolean isAlive()
           
 boolean isDaemon()
           
 boolean isInterrupted()
           
 void join()
           
 void setDaemon(boolean on)
           
 void setName(java.lang.String name)
           
 void setPriority(int priority)
           
static void sleep(long millis)
           
 void start()
           
 java.lang.String toString()
           
static void yield()
           
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MIN_PRIORITY

public static final int MIN_PRIORITY

NORM_PRIORITY

public static final int NORM_PRIORITY

MAX_PRIORITY

public static final int MAX_PRIORITY
Constructor Detail

RemoteThreadImpl

public RemoteThreadImpl()
                 throws java.rmi.RemoteException

RemoteThreadImpl

public RemoteThreadImpl(RemoteRunnable target)
                 throws java.rmi.RemoteException

RemoteThreadImpl

public RemoteThreadImpl(RemoteRunnable target,
                        java.lang.String name)
                 throws java.rmi.RemoteException
Method Detail

currentThread

public static RemoteThreadInterface currentThread()
                                           throws java.rmi.RemoteException

getName

public java.lang.String getName()
                         throws java.rmi.RemoteException
Specified by:
getName in interface RemoteThreadInterface

getPriority

public int getPriority()
                throws java.rmi.RemoteException
Specified by:
getPriority in interface RemoteThreadInterface

interrupt

public void interrupt()
               throws java.rmi.RemoteException
Specified by:
interrupt in interface RemoteThreadInterface

interrupted

public static boolean interrupted()
                           throws java.rmi.RemoteException

isAlive

public boolean isAlive()
                throws java.rmi.RemoteException
Specified by:
isAlive in interface RemoteThreadInterface

isDaemon

public boolean isDaemon()
                 throws java.rmi.RemoteException
Specified by:
isDaemon in interface RemoteThreadInterface

isInterrupted

public boolean isInterrupted()
                      throws java.rmi.RemoteException
Specified by:
isInterrupted in interface RemoteThreadInterface

join

public void join()
          throws java.lang.InterruptedException,
                 java.rmi.RemoteException
Specified by:
join in interface RemoteThreadInterface

setDaemon

public void setDaemon(boolean on)
               throws java.rmi.RemoteException
Specified by:
setDaemon in interface RemoteThreadInterface

setName

public void setName(java.lang.String name)
             throws java.rmi.RemoteException
Specified by:
setName in interface RemoteThreadInterface

setPriority

public void setPriority(int priority)
                 throws java.rmi.RemoteException
Specified by:
setPriority in interface RemoteThreadInterface

sleep

public static void sleep(long millis)
                  throws java.lang.InterruptedException

start

public void start()
           throws java.rmi.RemoteException
Specified by:
start in interface RemoteThreadInterface

toString

public java.lang.String toString()
Overrides:
toString in class java.rmi.server.RemoteObject

yield

public static void yield()

Java Distributed
Computational
Framework v0.1

Copyright © 2000 Sidney Cammeresi. All rights reserved.