Agent System POND 1.2 (28.2.2002)

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.
 
Methods inherited from interface FIM.Util.HasReadOnlyStore
getReadOnlyStore
 

Method Detail

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 itself
key - the desired key
length - the length of the (serialized) value to be stored
Returns:
true if the agent allows this

Agent System POND 1.2 (28.2.2002)

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.