|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnenok.net.processor.ProcessorImpl
public class ProcessorImpl
An implementation of the Processor
interface.
Constructor Summary | |
---|---|
ProcessorImpl(net.jini.id.Uuid pid)
Constructor: |
Method Summary | |
---|---|
void |
delete(DefaultLocator loc)
Deletes a stored valuation from this processor. |
boolean |
equals(Object o)
|
Locator |
execute(Task task)
Executes a given task on this processor. |
boolean |
exists(net.jini.id.Uuid envID)
Is the valuation with the given envelope ID stored on this processor. |
String |
getCodebase()
|
net.jini.id.Uuid |
getPID()
|
void |
reset()
Deletes all stored valuations. |
Valuation |
retrieve(DefaultLocator loc)
Retrieves a stored valuation from this processor. |
Locator |
store(Envelope env)
Stores a valuation wrapped in an envelope on this processor. |
Locator |
store(Valuation val)
Stores a valuation on this processor. |
Locator[] |
store(Valuation[] vals)
Stores a set of valuations on this processor. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProcessorImpl(net.jini.id.Uuid pid)
pid
- The identifier of the processor.Method Detail |
---|
public Locator store(Valuation val) throws RemoteException
Processor
store
in interface Processor
val
- The valuation to store.
RemoteException
- Locator methods all throw remote exceptions.Processor.store(nenok.va.Valuation)
public Locator store(Envelope env) throws RemoteException
Processor
store
in interface Processor
env
- The envelope with the valuation to store.
RemoteException
- Locator methods all throw remote exceptions.Processor.store(nenok.net.Envelope)
public Locator[] store(Valuation[] vals) throws RemoteException
Processor
store
in interface Processor
vals
- The valuations to store.
RemoteException
- Locator methods all throw remote exceptions.Processor.store(nenok.va.Valuation[])
public Valuation retrieve(DefaultLocator loc) throws RemoteException
Processor
retrieve
in interface Processor
loc
- The locator identifying the valuation.
RemoteException
- Locator methods all throw remote exceptions.Processor.retrieve(nenok.net.DefaultLocator)
public boolean exists(net.jini.id.Uuid envID) throws RemoteException
Processor
exists
in interface Processor
envID
- The valuation's envelope ID.
true
, if the valuation exists.
RemoteException
- Locator methods all throw remote exceptions.Processor.exists(net.jini.id.Uuid)
public void delete(DefaultLocator loc) throws RemoteException
Processor
delete
in interface Processor
loc
- The locator referencing the valuation to delete.
RemoteException
- Locator methods all throw remote exceptions.Processor.delete(nenok.net.DefaultLocator)
public void reset() throws RemoteException
Processor
reset
in interface Processor
RemoteException
- Locator methods all throw remote exceptions.Processor.reset()
public Locator execute(Task task) throws RemoteException, VAException
Processor
execute
in interface Processor
task
- The task to execute.
RemoteException
- Locator methods all throw remote exceptions.
VAException
- Exception caused by undefined valuation algera operations.Processor.execute(nenok.net.task.Task)
public net.jini.id.Uuid getPID() throws RemoteException
getPID
in interface Processor
RemoteException
- Locator methods all throw remote exceptions.Processor.getPID()
public String getCodebase() throws RemoteException
getCodebase
in interface Processor
RemoteException
- Locator methods all throw remote exceptions.Processor.getCodebase()
public boolean equals(Object o)
equals
in class Object
Object.equals(java.lang.Object)
public String toString()
toString
in class Object
Object.toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |