jfract V1.0a

org.jfract.rmi
Class RmiProcessor

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--org.jfract.rmi.RmiProcessor
All Implemented Interfaces:
java.lang.Runnable

public class RmiProcessor
extends java.lang.Thread

class for computing a result from a PointDouble[][] points array with remote rmi services in the urlList array of string


Field Summary
(package private)  java.util.Vector arrayOfBuffer
          the vector containing the arrays of pointDouble
(package private)  FractalComputer computer
          the computer passed
(package private)  java.util.Hashtable htOfFailedResult
          an Hashtable to add the failed procssed array
(package private)  java.util.Hashtable htOfResult
          an Hashtable to add the array on Integer objects with the specific index as an integer key
private  boolean initialized
           
(package private)  CompletionListener listener
          the completion listener
private static org.apache.log4j.Category log4j_category
           
(package private) static java.util.Hashtable remote
          a vector to store the remote services
(package private)  int[] result
          the array passed
(package private)  java.lang.String[] urlList
          The list of rmi services
 
Fields inherited from class java.lang.Thread
contextClassLoader, daemon, eetop, group, inheritableThreadLocals, inheritedAccessControlContext, MAX_PRIORITY, MIN_PRIORITY, name, NORM_PRIORITY, priority, single_step, stillborn, stopThreadPermission, target, threadInitNumber, threadLocals, threadQ
 
Constructor Summary
RmiProcessor(java.lang.String[] urlList, java.util.Vector arrayOfBuffer, FractalComputer computer, int totalPoints, CompletionListener listener)
          construct a RmiProcessor
 
Method Summary
 int[] getResult()
          the number of int to return
 boolean isInitialized()
           
 void run()
           
 
Methods inherited from class java.lang.Thread
, activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, exit, getContextClassLoader, getName, getPriority, getThreadGroup, init, interrupt, interrupt0, interrupted, isAlive, isDaemon, isInterrupted, isInterrupted, join, join, join, nextThreadNum, registerNatives, resume, resume0, setContextClassLoader, setDaemon, setName, setPriority, setPriority0, sleep, sleep, start, stop, stop, stop0, suspend, suspend0, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log4j_category

private static final org.apache.log4j.Category log4j_category

urlList

java.lang.String[] urlList
The list of rmi services

remote

static java.util.Hashtable remote
a vector to store the remote services

arrayOfBuffer

java.util.Vector arrayOfBuffer
the vector containing the arrays of pointDouble

computer

FractalComputer computer
the computer passed

htOfResult

java.util.Hashtable htOfResult
an Hashtable to add the array on Integer objects with the specific index as an integer key

htOfFailedResult

java.util.Hashtable htOfFailedResult
an Hashtable to add the failed procssed array

initialized

private boolean initialized

result

int[] result
the array passed

listener

CompletionListener listener
the completion listener
Constructor Detail

RmiProcessor

public RmiProcessor(java.lang.String[] urlList,
                    java.util.Vector arrayOfBuffer,
                    FractalComputer computer,
                    int totalPoints,
                    CompletionListener listener)
             throws java.rmi.NotBoundException,
                    java.net.MalformedURLException,
                    java.rmi.RemoteException
construct a RmiProcessor
Method Detail

getResult

public int[] getResult()
the number of int to return

isInitialized

public boolean isInitialized()

run

public void run()
Overrides:
run in class java.lang.Thread

jfract V1.0a

Generee le 27.09.2002 08:21:59 PM