|
|||||||||
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(Uuid pid)
Constructor: |
Method Summary | |
---|---|
Locator |
combine(Locator loc,
Locator... locs)
Combines the valuations specified by locators and stores the result. |
void |
delete(Locator loc)
Deletes a stored valuation from this processor. |
boolean |
equals(Object o)
|
boolean |
exists(Uuid envID)
Is the valuation with the given envelope ID stored on this processor. |
Valuation |
get(Uuid envID)
Retrieves a stored valuation from this processor. |
String |
getCodebase()
|
Uuid |
getPID()
|
Locator |
inverse(Locator loc)
Inverses the valuations specified by the locator. |
Locator |
marginalize(Locator loc,
Domain dom)
Marginalizes the valuations specified by the locator to be given domain. |
void |
reset()
Deletes all stored valuations. |
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(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 get(Uuid envID) throws RemoteException
Processor
get
in interface Processor
envID
- The identifier of the valuation's envelope.
RemoteException
- Locator methods all throw remote exceptions.Processor.get(net.jini.id.Uuid)
public boolean exists(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(Locator 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.Locator)
public void reset() throws RemoteException
Processor
reset
in interface Processor
RemoteException
- Locator methods all throw remote exceptions.Processor.reset()
public 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 Locator combine(Locator loc, Locator... locs) throws RemoteException
Processor
combine
in interface Processor
loc
- A locator object.locs
- Further locators that have to be combined.
RemoteException
- Locator methods all throw remote exceptions.Processor.combine(nenok.net.Locator, nenok.net.Locator[])
public Locator marginalize(Locator loc, Domain dom) throws RemoteException
Processor
marginalize
in interface Processor
loc
- The locator pointing to the valuation to be marginalized.dom
- The domain onto which the marginalization is performed.
RemoteException
- Locator methods all throw remote exceptions.Processor.marginalize(nenok.net.Locator, nenok.va.Domain)
public Locator inverse(Locator loc) throws RemoteException
Processor
inverse
in interface Processor
loc
- The locator pointing to the valuation to be inverted.
RemoteException
- Locator methods all throw remote exceptions.Processor.inverse(nenok.net.Locator)
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 |