lima.testing
Class TestTX
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--lima.testing.TestTX
- All Implemented Interfaces:
- java.rmi.Remote, java.io.Serializable, WorkUnitSource
- public class TestTX
- extends java.rmi.server.UnicastRemoteObject
- implements WorkUnitSource
- See Also:
- Serialized Form
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
|
Constructor Summary |
TestTX(lima.testing.WUProcessorTest wUProcessorTest)
|
|
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 |
TestTX
public TestTX(lima.testing.WUProcessorTest wUProcessorTest)
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