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.abcl | |
casa.agentCom |
The package (agentCom = "Agent
Communications") handles connections between agents. The class Channel
is an abstraction of a communication channel.
|
casa.conversation2 | |
casa.event |
Contains classes that implement Events (see
Event ),
which are used to describe dependencies (including time expiry or time
intervals) among things like social commitments and deferred code. |
casa.exceptions |
Contains classes for exceptions specific to CASA.
|
casa.extensions | |
casa.ontology.v3 | |
casa.policy | |
casa.socialcommitments |
Contains classes implementing social commitments.
|
casa.ui |
Contains classes implementing CASA's default user interfaces.
|
casa.util |
Contains classes implementing various utility class for CASA.
|
Modifier and Type | Method and Description |
---|---|
Pair<URLDescriptor,MLMessage> |
MLMessage.extractBasicProxyInformation()
Attempts to decode the proxy information from the content field into a
URLDescriptor and an MLMessage . |
static Pair<URLDescriptor,MLMessage> |
MLMessage.extractBasicProxyInformation(String contents)
Attempts to decode the proxy information from the string provided into a
URLDescriptor and an MLMessage . |
Pair<List<URLDescriptor>,MLMessage> |
CooperationDomain.extractCDProxyInformation(String content)
Using the content parameter, parse out the members to forward
a message to.
|
Pair<String,MLMessage> |
MLMessage.extractProxyInformation()
|
static Pair<String,MLMessage> |
MLMessage.extractProxyInformation(String contents)
|
Pair<Integer,String> |
TransientAgent.getConversationsReport(boolean current,
int verbose)
Report on this agent's conversations.
|
(package private) static Pair<String,String>[] |
CASA.stringsToPairs(String... strings) |
Modifier and Type | Method and Description |
---|---|
static TransientAgent |
CASA.startAgent(AgentUI ui,
Class<?> cls,
String name,
int port,
Pair<String,String>... keyValuePairs) |
static TransientAgent |
CASA.startAgent(AgentUI ui,
Pair<String,String>... keys) |
private static LAC |
CASA.startLAC(AgentUI ui,
int lacPort,
Pair<String,String>... keys) |
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 |
---|---|
private class |
ParamsMap.ParamData |
Modifier and Type | Method and Description |
---|---|
Pair<Object,LispObject> |
ParamsMap.put(String key,
Object javaObj,
LispObject lispObj,
boolean defaulted) |
Pair<Object,LispObject> |
ParamsMap.put(String key,
Pair<Object,LispObject> value,
boolean defaulted) |
Pair<Object,LispObject> |
ParamsMap.putJavaObject(String key,
Object javaObject,
boolean defaulted) |
Pair<Object,LispObject> |
ParamsMap.putLispObject(String key,
LispObject lispObject,
boolean defaulted) |
Modifier and Type | Method and Description |
---|---|
Pair<Object,LispObject> |
ParamsMap.put(String key,
Pair<Object,LispObject> value,
boolean defaulted) |
Constructor and Description |
---|
ParamData(Pair<Object,LispObject> x,
boolean defaulted) |
ParamsMap(Pair<String,Object>... params) |
Modifier and Type | Field and Description |
---|---|
private ConcurrentLinkedQueue<Pair<SocketChannel,TCPChannel>> |
SocketServerTCPIP.registerQueue
Used by
SocketServerTCPIP.registerChannel(SocketChannel, TCPChannel) and SocketServerTCPIP.run()
to safely do new registrations without generating an interrupt on the socket listener thread. |
private ConcurrentLinkedQueue<Pair<AbstractProcess,MLMessage>> |
TCPChannel.writeQueue
Used to store queued outgoing messages for this connection until the socket is ready to write.
|
Modifier and Type | Method and Description |
---|---|
Pair<AbstractProcess,MLMessage> |
TCPChannel.getNextOutMessage() |
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.
|
Constructor and Description |
---|
Conversation(String name,
TransientAgent ownerAgent,
MLMessage message,
Pair<String,Object>... bindings)
Constructor for a conversation instance.
|
Modifier and Type | Method and Description |
---|---|
protected static <T extends Comparable<T>> |
EventDescriptor.makePairs(Object... pairs) |
Modifier and Type | Method and Description |
---|---|
protected EventDescriptor |
EventDescriptor.EventDescriptorLispOperator.makeNew(PolicyAgentInterface agent,
String type,
Pair<String,Object>[] pairs)
a function that makes returns new EventDescriptor out of the parameters
|
Constructor and Description |
---|
EventDescriptor(PolicyAgentInterface agent,
String type,
Pair<String,? extends Object>[] pairs)
Simple constructor
|
MessageEventDescriptor(PolicyAgentInterface agent,
String eventType,
Pair<String,? extends Object>[] pairs)
Create a MessageEventDescriptor for agent of type eventType (must be
subtype of messageEvent in the agent's ontology) with the constrains on message
matching listed in pairs (key/value pairs in the message).
|
Modifier and Type | Method and Description |
---|---|
Pair<URLDescriptor,URLDescriptor> |
AmbiguousURLException.getConflictingURLS() |
Modifier and Type | Method and Description |
---|---|
private Pair<String,Integer> |
ExtensionLoader.parseEntryName(String s)
Returns s with any digits at the end removed.
|
Modifier and Type | Class and Description |
---|---|
class |
Maplet |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
SocialCommitmentsStore.Operation |
Modifier and Type | Method and Description |
---|---|
private static JPanel |
OptionsDialog.generatePanelFromComponentPairs(Collection<Pair<JComponent,JComponent>> rows)
Generates a Nx2 panel GUI for a collection of pairs of
JComponent s. |
Modifier and Type | Class and Description |
---|---|
class |
PairComparable<T extends Comparable<T>,S extends Comparable<S>>
a class that enables pairs with comparable parameters
|
Modifier and Type | Method and Description |
---|---|
static Pair<Object,Field> |
AnnotationUtil.getAnnotatedField(Object object,
Class<? extends Annotation> annotationClass,
String name)
Searches the [searchClass] for a field with the name [name] that is
marked by the annotation [annotationClass].
|
Constructor and Description |
---|
Pair(Pair<T,S> x)
a constructor that copy's another pair
|