graphics.raytracers.rmiRaytracer.raytracer
Class DoImageServer
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
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
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 |
DoImageServer
public DoImageServer(java.awt.Dimension d)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
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)