PkgAgentSystem
Interface HasVetoableReadOnlyStore
- All Superinterfaces:
- HasReadOnlyStore
- public interface HasVetoableReadOnlyStore
- extends HasReadOnlyStore
Interface for marking an object to contain an ReadOnlyStore
.
Allows just to retrieve the store, so something can be put into it.
- Version:
- 1.0, 1.7.2000
- Author:
- Michael Sonntag
- See Also:
HasReadOnlyStore
,
ReadOnlyStore
Method Summary |
boolean |
allowPut(AgentIdentity requester,
Serializable key,
long length)
Ask the agent, whether it allows another agent to put a value into its ReadOnlyStore . |
allowPut
public boolean allowPut(AgentIdentity requester,
Serializable key,
long length)
- Ask the agent, whether it allows another agent to put a value into its
ReadOnlyStore
.
- Parameters:
requester
- the agent requesting the agentsystem to store the value or null
if the agentsystem itselfkey
- the desired keylength
- the length of the (serialized) value to be stored- Returns:
true
if the agent allows this
Submit a bug
Copyright 2001,2002 Michael Sonntag & Institute for Information Processing and Microprocessor Technology (FIM), Johannes-Kepler-University Linz, Altenbergerstr. 69, A-4040 Linz, Austria.