graphics.raytracers.rmiRaytracer.raytracer
Class DoImageServer

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by graphics.raytracers.rmiRaytracer.raytracer.DoImageServer
All Implemented Interfaces:
DoImageInterface, java.io.Serializable, java.rmi.Remote

public class DoImageServer
extends java.rmi.server.UnicastRemoteObject
implements DoImageInterface

Launch DoImageServer after a launch of the DoImageClientManager. The DoImageServer must contact the HostManager to register itself as available for use.

See Also:
Serialized Form

Constructor Summary
DoImageServer(java.awt.Dimension d)
           
 
Method Summary
 void doTheWork()
           
 int[][] getPixels()
           
 java.awt.Dimension getSize()
           
 int[][] getSubPixels()
           
 int[][] int2SubInt(int[][] i)
           
static void main(java.lang.String[] args)
           
 void setBand(java.awt.Dimension p0)
           
 void setSize(java.awt.Dimension d)
           
 
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, toString, toStub
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DoImageServer

public DoImageServer(java.awt.Dimension d)
              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException
Method Detail

int2SubInt

public int[][] int2SubInt(int[][] i)
                   throws java.rmi.RemoteException
Specified by:
int2SubInt in interface DoImageInterface
Throws:
java.rmi.RemoteException

getSubPixels

public int[][] getSubPixels()
                     throws java.rmi.RemoteException
Specified by:
getSubPixels in interface DoImageInterface
Throws:
java.rmi.RemoteException

doTheWork

public void doTheWork()
               throws java.rmi.RemoteException
Specified by:
doTheWork in interface DoImageInterface
Throws:
java.rmi.RemoteException

setBand

public void setBand(java.awt.Dimension p0)
             throws java.rmi.RemoteException
Specified by:
setBand in interface DoImageInterface
Throws:
java.rmi.RemoteException

getPixels

public int[][] getPixels()
                  throws java.rmi.RemoteException
Specified by:
getPixels in interface DoImageInterface
Throws:
java.rmi.RemoteException

getSize

public java.awt.Dimension getSize()
                           throws java.rmi.RemoteException
Specified by:
getSize in interface DoImageInterface
Throws:
java.rmi.RemoteException

setSize

public void setSize(java.awt.Dimension d)
             throws java.rmi.RemoteException
Specified by:
setSize in interface DoImageInterface
Throws:
java.rmi.RemoteException

main

public static void main(java.lang.String[] args)