edu.unima.ky.parallel
Class RMISmallPrimesImpl

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--edu.unima.ky.parallel.RMISmallPrimesImpl
All Implemented Interfaces:
java.rmi.Remote, RMISmallPrimes, java.io.Serializable

public class RMISmallPrimesImpl
extends java.rmi.server.UnicastRemoteObject
implements RMISmallPrimes

The implementation of a RMI version of SmallPrimes.

See Also:
SmallPrimes, PrimeSieve, Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
RMISmallPrimesImpl()
           
 
Method Summary
 int[] genSmallPrimes(int mpp, int kp)
          Implementation of the method genSmallPrimes.
 
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
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RMISmallPrimesImpl

public RMISmallPrimesImpl()
                   throws java.rmi.RemoteException
Method Detail

genSmallPrimes

public int[] genSmallPrimes(int mpp,
                            int kp)
                     throws java.rmi.RemoteException
Implementation of the method genSmallPrimes.

Specified by:
genSmallPrimes in interface RMISmallPrimes
java.rmi.RemoteException