nenok.net
Class IdentityLocator
java.lang.Object
nenok.net.Locator
nenok.net.IdentityLocator
- All Implemented Interfaces:
- Serializable
public class IdentityLocator
- extends Locator
Implementation of the Locator
interface for identity elements.
- Version:
- 1.2
- Author:
- Marc Pouly
- See Also:
- Serialized Form
IdentityLocator
public IdentityLocator(net.jini.id.Uuid pid)
- Constructor:
- Parameters:
pid
- The identifier of the processor hosting the valuation.
delete
public void delete()
throws RemoteException
- Description copied from class:
Locator
- Deletes the valuation that is referenced by this locator.
- Specified by:
delete
in class Locator
- Throws:
RemoteException
- Exception caused when trying to access processors.- See Also:
Locator.delete()
getDomain
public Domain getDomain()
- Specified by:
getDomain
in class Locator
- Returns:
- The domain of the referenced valuation.
- See Also:
Locator.getDomain()
getType
public String getType()
- Specified by:
getType
in class Locator
- Returns:
- The type (class name) of the referenced valuation.
- See Also:
Locator.getType()
getWeight
public int getWeight()
- Specified by:
getWeight
in class Locator
- Returns:
- The weight of the referenced valuation.
- See Also:
Locator.getWeight()
retrieve
public Valuation retrieve()
- Specified by:
retrieve
in class Locator
- Returns:
- Retrieves the referenced valuation from the processor.
- See Also:
Locator.retrieve()
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
- See Also:
Object.equals(Object)
toString
public String toString()
- Overrides:
toString
in class Object
- See Also:
Object.toString()