lima.mathematical.factorisation.ecm
Class EcmSource
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--lima.mathematical.factorisation.ecm.EcmSource
- All Implemented Interfaces:
- java.rmi.Remote, java.io.Serializable, WorkUnitSource
- public class EcmSource
- extends java.rmi.server.UnicastRemoteObject
- implements WorkUnitSource
This is a source for ECM workunits.
- See Also:
- Serialized Form
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
|
Constructor Summary |
EcmSource()
|
EcmSource(java.math.BigInteger n,
lima.mathematical.factorisation.ecm.DistributedEcm p,
int B1,
int B2,
java.math.BigInteger k,
int maxCurves)
|
|
Method Summary |
java.lang.String |
getOwner()
Return a textual description of a source's owner. |
boolean |
hasNext()
Will next() succeed? |
lima.distribution.WorkUnit |
next()
Return the next WorkUnit that needs to be processed. |
| 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 |
EcmSource
public EcmSource()
throws java.rmi.RemoteException
EcmSource
public EcmSource(java.math.BigInteger n,
lima.mathematical.factorisation.ecm.DistributedEcm p,
int B1,
int B2,
java.math.BigInteger k,
int maxCurves)
throws java.rmi.RemoteException
next
public lima.distribution.WorkUnit next()
throws java.rmi.RemoteException
- Description copied from interface:
WorkUnitSource
- Return the next WorkUnit that needs to be processed.
MUST NOT be called if hasNext()==false.
- Specified by:
next in interface WorkUnitSource
- Returns:
- WorkUnit - -The next WorkUnit
java.rmi.RemoteException - See Also:
WorkUnitSource.next()
hasNext
public boolean hasNext()
throws java.rmi.RemoteException
- Description copied from interface:
WorkUnitSource
- Will next() succeed?
- Specified by:
hasNext in interface WorkUnitSource
- Returns:
- boolean
java.rmi.RemoteException - See Also:
WorkUnitSource.hasNext()
getOwner
public java.lang.String getOwner()
- Description copied from interface:
WorkUnitSource
- Return a textual description of a source's owner.
- Specified by:
getOwner in interface WorkUnitSource