Package | Description |
---|---|
casa |
The casa package is the main package for CASA (Collaborative Agent System
Architecture), which is an infrastructure for agent based systems.
|
casa.conversation2 | |
casa.policy |
Modifier and Type | Method and Description |
---|---|
Conversation |
TransientAgent.Conversations.remove(Conversation conv)
Removes the conversation, removing the specific conversation, and the
entire entry under that conversation id if this is the last one under the
same ID.
|
Conversation |
TransientAgent.removeConversation(Conversation conv) |
abstract Conversation |
AbstractProcess.removeConversation(Conversation conv) |
Modifier and Type | Method and Description |
---|---|
LinkedList<Conversation> |
TransientAgent.getConversation(String convID) |
abstract LinkedList<Conversation> |
AbstractProcess.getConversation(String convID) |
ConcurrentSkipListMap<String,LinkedList<Conversation>> |
TransientAgent.getConversations() |
private Vector<PairComparable<Conversation,AbstractPolicy>> |
TransientAgent.pols2convs2pol(Vector<AbstractPolicy> ps,
Conversation conv) |
Modifier and Type | Method and Description |
---|---|
void |
TransientAgent.Conversations.add(String convID,
Conversation conv) |
void |
TransientAgent.addConversation(String convID,
Conversation conv) |
abstract void |
AbstractProcess.addConversation(String convID,
Conversation conv) |
private Vector<PairComparable<Conversation,AbstractPolicy>> |
TransientAgent.pols2convs2pol(Vector<AbstractPolicy> ps,
Conversation conv) |
private void |
TransientAgent.processPolicies(AbstractProcess creator,
Event event,
AbstractCollection<Pair<Conversation,AbstractPolicy>> collectedPolicies,
Conversation conversation,
String conversationsDoc,
Map<String,LispObject> map)
Applies the policies using
PolicyContainer.applyPolicies(casa.interfaces.PolicyAgentInterface, AbstractCollection, Event, Map) . |
Conversation |
TransientAgent.Conversations.remove(Conversation conv)
Removes the conversation, removing the specific conversation, and the
entire entry under that conversation id if this is the last one under the
same ID.
|
Conversation |
TransientAgent.removeConversation(Conversation conv) |
abstract Conversation |
AbstractProcess.removeConversation(Conversation conv) |
Modifier and Type | Method and Description |
---|---|
private void |
TransientAgent.processPolicies(AbstractProcess creator,
Event event,
AbstractCollection<Pair<Conversation,AbstractPolicy>> collectedPolicies,
Conversation conversation,
String conversationsDoc,
Map<String,LispObject> map)
Applies the policies using
PolicyContainer.applyPolicies(casa.interfaces.PolicyAgentInterface, AbstractCollection, Event, Map) . |
Modifier and Type | Class and Description |
---|---|
class |
SubscribeClientConversation |
class |
SubscribeServerConversation |
Modifier and Type | Field and Description |
---|---|
(package private) Conversation |
LispAction.conversation |
Modifier and Type | Method and Description |
---|---|
static Conversation |
Conversation.findConversation(String conv) |
Conversation |
Conversations.get(Object key) |
Conversation |
Conversation.getChild(String childName) |
protected Conversation |
Conversation.getParent() |
Conversation |
Conversation.instantiate(TransientAgent ownerAgent,
MessageEvent event,
Object overRideSuccessHandler,
Object overRideFailureHandler) |
Conversation |
Conversations.put(String name,
Conversation conv) |
Conversation |
Conversations.rename(String oldName,
String newName)
Renames a Conversation instance by removing it an putting it back.
|
Modifier and Type | Method and Description |
---|---|
Vector<Pair<Conversation,AbstractPolicy>> |
Conversation.getApplicablePolicies(PolicyAgentInterface agent,
Event event)
Note that there is not "isApplicable(Event)" method in this class.
|
Collection<Conversation> |
Conversation.getChildConversations() |
static Collection<Conversation> |
Conversation.getKnownConversations() |
Modifier and Type | Method and Description |
---|---|
void |
Conversation.addSubConversation(Conversation conv)
adds a conversation as a sub conversation to this one
|
int |
Conversation.compareTo(Conversation o) |
private void |
Conversation.instantiateHelper(TransientAgent ownerAgent,
MessageEvent event,
Conversation template)
fix up all the children (that have already been cloned by
BoundSymbolObject.clone() )
evaluates symbols
sets the state to "init"
|
Conversation |
Conversations.put(String name,
Conversation conv) |
protected void |
Conversation.setParent(Conversation parent) |
Constructor and Description |
---|
Conversation(String name,
Conversation parent)
Creates a child conversation template.
|
LispAction(Conversation converstation,
String cmd) |
SubscribeClientConversation(String name,
Conversation parent) |
SubscribeServerConversation(String name,
Conversation parent) |
Modifier and Type | Method and Description |
---|---|
protected Vector<Pair<Conversation,AbstractPolicy>> |
PolicyContainer.sortPolicies(PolicyAgentInterface agent,
AbstractCollection<Pair<Conversation,AbstractPolicy>> applicable) |
Modifier and Type | Method and Description |
---|---|
StatusObject<List<Object>> |
PolicyContainer.applyPolicies(PolicyAgentInterface agent,
AbstractCollection<Pair<Conversation,AbstractPolicy>> applicablePolicies,
Event event,
Map<String,LispObject> map)
Apply all the appropriate policies to event after filtering and sorting.
|
protected void |
PolicyContainer.filterPolicies(PolicyAgentInterface agent,
AbstractCollection<Pair<Conversation,AbstractPolicy>> applicablePolicies) |
protected Vector<Pair<Conversation,AbstractPolicy>> |
PolicyContainer.sortPolicies(PolicyAgentInterface agent,
AbstractCollection<Pair<Conversation,AbstractPolicy>> applicable) |
<T extends AbstractPolicy> |
PolicyContainer.toString(AbstractCollection<Pair<Conversation,T>> v) |
(package private) void |
PolicyContainer.updatePolicies(PolicyAgentInterface agent,
AbstractCollection<Pair<Conversation,AbstractPolicy>> applicablePolicies,
Map<String,LispObject> map)
Evaluates the policy antecedents so filtering can determine all the antecedent EventDescriptors.
|