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.agentCom |
The package (agentCom = "Agent
Communications") handles connections between agents. The class Channel
is an abstraction of a communication channel.
|
casa.auction | |
casa.auction.dutch | |
casa.auction.sealedbid | |
casa.conversation2 | |
casa.exceptions |
Contains classes for exceptions specific to CASA.
|
casa.interfaces |
Contains classes for important
interfaces used in CASA. |
casa.policy | |
casa.service |
Contains classes implementing classes for service agents.
|
casa.socialcommitments |
Contains classes implementing social commitments.
|
casa.socialcommitments.operators | |
casa.testAgents | |
casa.transaction | |
casa.ui |
Contains classes implementing CASA's default user interfaces.
|
casa.util |
Contains classes implementing various utility class for CASA.
|
iRobotCreate |
Modifier and Type | Field and Description |
---|---|
(package private) URLDescriptor |
AdvertisementDescriptor.advertisor |
private URLDescriptor |
ObserverNotification.agentUrl |
URLDescriptor |
TransientAgent.CDInvitedTo |
URLDescriptor |
TransientAgent.CDinvitee |
private URLDescriptor |
TransientAgent.registeredWithLAC |
private URLDescriptor |
AgentRemoteProxyHandler.target |
private URLDescriptor |
StatusURLDescriptor.url |
private URLDescriptor |
ServiceDescriptor.url |
private URLDescriptor |
EventNotificationURL.url |
private URLDescriptor |
CasaObservableObject.url
The url or the owner agent
|
private URLDescriptor |
AbstractProcess.url
The URL of this object
|
private URLDescriptor |
CooperationDomainObserver.watchedCooperationDomain
A
Vector of all of the cooperation domains ( URLDescriptor s) that this agent is "watching". |
Modifier and Type | Field and Description |
---|---|
private Hashtable<URLDescriptor,Vector<URLDescriptor>> |
TransientAgent.cooperationDomainMembers
A
Hashtable linking the URLDescriptor of a
cooperation domain to a Vector of the participants (
URLDescriptor s) of that cooperation domain. |
private Hashtable<URLDescriptor,Vector<URLDescriptor>> |
TransientAgent.cooperationDomainMembers
A
Hashtable linking the URLDescriptor of a
cooperation domain to a Vector of the participants (
URLDescriptor s) of that cooperation domain. |
private ConcurrentSkipListSet<URLDescriptor> |
TransientAgent.joinedCooperationDomains
A
Vector of all of the cooperation domains (
URLDescriptor s) that this agent has successfully joined. |
protected Vector<URLDescriptor> |
CooperationDomain.members
A
Vector of URLDescriptor s of the members of this cooperation domain. |
protected Hashtable<URLDescriptor,String> |
CooperationDomain.membershipSubscriptions |
private Hashtable<URLDescriptor,String> |
CooperationDomain.messageObservers
The mesage notification list.
|
private TreeMap<URLDescriptor,String[]> |
CasaObservableObject.remoteObservers
Observers on other machines or other process that we will notify via the
casa messaging system.
|
Vector<URLDescriptor> |
LAC.removedVector |
protected ConcurrentSkipListMap<String,URLDescriptor> |
LAC.runningAgents
Don't confuse "runningAgents" with "registeredAgents".
|
static Set<URLDescriptor> |
CASAProcess.ProcessInfo.synonymsURLs |
private List<URLDescriptor> |
StatusURLDescriptorList.urls |
private TreeMap<URLDescriptor,String> |
TransientAgent.watchedCooperationDomains
A
TreeMap of all of the cooperation domains (
URLDescriptor s) that this agent is "watching" to the
conversation IDs that "remember" the subscription. |
Modifier and Type | Method and Description |
---|---|
URLDescriptor |
TransientAgent.doPing_sync(URLDescriptor agent,
long timeout)
Pings another agent synchronously.
|
URLDescriptor |
AdvertisementDescriptor.getAdvertisor() |
URLDescriptor |
ObserverNotification.getAgentUrl() |
URLDescriptor |
MLMessage.getFrom()
Returns a
URLDescriptor from the REPLY-TO field; but if the REPLY-TO field is empty or missing
returns the value from the SENDER field. |
URLDescriptor |
TransientAgent.getLACURL()
Returns the URL of the LAC the agent is registered to.
|
URLDescriptor |
MLMessage.getReceiver()
Returns a
URLDescriptor from the RECEIVER field. |
URLDescriptor |
MLMessage.getReplyTo()
Returns the contents of the REPLY-TO field; but if the REPLY-TO field is empty or missing
returns the value from the SENDER field.
|
URLDescriptor |
MLMessage.getSender()
Returns a
URLDescriptor from the SENDER field. |
URLDescriptor |
MLMessage.getTo()
Returns a
URLDescriptor from the TO field; but if the TO field is empty or missing or contains a '*'
returns the value from the RECIEVER field. |
URLDescriptor |
StatusURLDescriptor.getURL() |
URLDescriptor |
ServiceDescriptor.getURL() |
URLDescriptor |
EventNotificationURL.getURL() |
URLDescriptor |
CasaObservableObject.getURL() |
URLDescriptor |
AbstractProcess.getURL()
Returns a copy of the URL of the current process
|
URLDescriptor |
MLMessage.getURLParameter(String key) |
URLDescriptor |
MLMessage.getURLParameter(String key,
URLDescriptor defaultValue) |
URLDescriptor |
CooperationDomainObserver.getWatchedCooperationDomain() |
protected URLDescriptor |
AbstractProcess.initializeURL(int port,
String name)
Initialize the URL for this object.
|
Modifier and Type | Method and Description |
---|---|
Vector<URLDescriptor> |
TransientAgent.addMembers(URLDescriptor cd,
Vector<URLDescriptor> urls) |
protected LinkedList<URLDescriptor> |
LAC.createPriorityQueue(LinkedList<URLDescriptor> lList)
Since there is a specific order to follow during the event LAC.LAC_CLOSING, this function organizes
all the URLDescriptors of the running agents (under this process) in a PriorityQueue.
|
Vector<URLDescriptor> |
TransientAgent.doGetCooperationDomains(URLDescriptor lac)
Retrieves the list of URLDescriptor's from a LAC.
|
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.
|
ConcurrentSkipListMap<String,URLDescriptor> |
LAC.getAgentsRunning()
getAgentsRunning()
|
Set<URLDescriptor> |
TransientAgent.getJoinedCooperationDomain() |
Set<URLDescriptor> |
TransientAgent.getJoinedCooperationDomains() |
Vector<URLDescriptor> |
CooperationDomain.getMembers()
Retreives a membership list for the cooperation domain.
|
Vector<URLDescriptor> |
TransientAgent.getMembers(URLDescriptor cd) |
Vector<URLDescriptor> |
LAC.getRunningAgentDescriptors() |
List<URLDescriptor> |
StatusURLDescriptorList.getURLs() |
Collection<URLDescriptor> |
TransientAgent.queryRefURLs(URLDescriptor url,
String expression,
long timeout) |
Modifier and Type | Method and Description |
---|---|
void |
TransientAgent.addJoinedCooperationDomain(URLDescriptor url) |
Vector<URLDescriptor> |
TransientAgent.addMembers(URLDescriptor cd,
Vector<URLDescriptor> urls) |
void |
AbstractProcess.addObserver(URLDescriptor observer)
Extension to the Observable interface from the observer pattern (Gamma et al.).
|
void |
CasaObservableObject.addObserver(URLDescriptor observer,
String... notifyTypes)
Description: add an observer along with the type of event it wishes to be
notified about.
|
void |
CasaObservable.addObserver(URLDescriptor observer,
String... notifyTypes) |
void |
AbstractProcess.addObserver(URLDescriptor observer,
String... notifyTypes) |
private void |
LAC.addToListofKnownUsers(URLDescriptor newURL)
TODO set the userCounter variable in order to have knowledge of how many times does this user
sign in to the system
|
static MLMessage |
MLMessage.constructBasicProxyMessage(MLMessage message,
URLDescriptor sender,
URLDescriptor proxyReciever,
URLDescriptor finalReciever) |
static MLMessage |
CooperationDomain.constructCDProxyMessage(MLMessage message,
URLDescriptor sender,
URLDescriptor cd)
Constructs a new proxy message which instructs the cooperation domain to
forward the encapsulated message to all current members of that cooperation
domain.
|
static MLMessage |
CooperationDomain.constructCDProxyMessage(MLMessage message,
URLDescriptor sender,
URLDescriptor cd,
List<URLDescriptor> to,
boolean whisper)
Constructs a new proxy message which instructs the cooperation domain to
forward the encapsulated directed or whisper message.
|
static MLMessage |
CooperationDomain.constructCDProxyMessage(MLMessage message,
URLDescriptor sender,
URLDescriptor cd,
URLDescriptor to,
boolean whisper)
Constructs a new proxy message which instructs the cooperation domain to
forward the encapsulated directed or whisper message.
|
static MLMessage |
MLMessage.constructProxyMessage(MLMessage message,
URLDescriptor sender,
URLDescriptor proxyReciever,
String finalRecieverDescription) |
static MLMessage |
MLMessage.constructReplyTo(MLMessage m,
String replyWith,
URLDescriptor originator)
|
void |
CasaObservableObject.deleteObserver(URLDescriptor observer) |
void |
CasaObservable.deleteObserver(URLDescriptor observer) |
void |
AbstractProcess.deleteObserver(URLDescriptor observer)
Extension to the Observable interface from the observer pattern (Gamma et al.).
|
Status |
TransientAgent.doAddObserver(URLDescriptor observableAgentUrl,
String... types)
Creates a new add_observer request.
|
Status |
TransientAgent.doAdvertise(URLDescriptor yp,
ServiceDescriptor service)
This method is called when this agent wishes to advertises a service.
|
StatusMLMessageList |
TransientAgent.doCDGetHistory_sync(URLDescriptor cdURL)
Retrieves the history list from a cooperation domain.
|
Status |
TransientAgent.doCDGetMembers(URLDescriptor cdURL)
Sends a message to retrieve the list of participants in a the specified
coopertation domain.
|
Status |
CooperationDomainObserver.doCDObserveMessages(URLDescriptor cdURL,
boolean sense)
Sends a subscribe message to start/stop the observation of forwarded
messages in a cooperation domain.
|
Status |
TransientAgent.doCDPutData(URLDescriptor cdURL,
DataStorageDescriptor dsd)
Attempts to store data with a cooperation domain.
|
Status |
TransientAgent.doCDSubscribeMembership(URLDescriptor cdURL,
boolean sense)
Sends a subscribe message to start/stop the observation of membership in a
cooperation domain.
|
Vector<URLDescriptor> |
TransientAgent.doGetCooperationDomains(URLDescriptor lac)
Retrieves the list of URLDescriptor's from a LAC.
|
Status |
TransientAgent.doGetOnology(URLDescriptor url,
String GET_PERFORMATIVESorGET_ACTS,
String typeName)
Sends a message to retrieve information about the performatives in the
performative type library of another agent.
|
Status |
TransientAgent.doInviteToCD(URLDescriptor agent,
URLDescriptor cd,
boolean sense)
Requests an agent to join a particular cooperation domain.
|
Status |
TransientAgent.doJoinCD(URLDescriptor cdURL)
Join a cooperation domain.
|
URLDescriptor |
TransientAgent.doPing_sync(URLDescriptor agent,
long timeout)
Pings another agent synchronously.
|
Status |
TransientAgent.doPing(URLDescriptor agent,
long timeout)
Pings another agent.
|
Status |
TransientAgent.doResolveURL(URLDescriptor url,
long timeout,
Runnable1<String,Status> cmd)
Sends a the request to the appropriate LAC to resolve the URL.
|
StatusURLDescriptorList |
TransientAgent.doSearchYP(URLDescriptor yp,
ServiceDescriptor service)
Attempts to search a yellow pages service for a agents matching a
particular service descriptor.
|
Status |
TransientAgent.doUnadvertise(URLDescriptor yp,
ServiceDescriptor service)
This method is called when this agent wishes to withdraw a previously
advertised service from a yellow pages service.
|
Status |
TransientAgent.doWithdrawCD(URLDescriptor cdURL,
boolean request)
Withdraw from a cooperation domain.
|
Vector<String> |
LAC.getAgentsRunningVector(URLDescriptor relativeTo) |
StatusMLMessageList |
CooperationDomain.getHistory(URLDescriptor member)
Retreives the history for a given agent in the cooperation domain.
|
Vector<URLDescriptor> |
TransientAgent.getMembers(URLDescriptor cd) |
MLMessage |
AbstractProcess.getNewMessage(String performative,
String act,
URLDescriptor reciever)
Creates a basic message with the given performative, act, and reciever.
|
MLMessage |
AbstractProcess.getNewMessage(String performative,
String act,
URLDescriptor reciever,
String... list)
Creates a basic message with the given performative, act, and reciever.
|
URLDescriptor |
MLMessage.getURLParameter(String key,
URLDescriptor defaultValue) |
Status |
CASAProcess.informAgent_GUIOperationRequest(URLDescriptor receiverURL,
String content) |
boolean |
MLMessage.isAddressedTo(URLDescriptor url) |
boolean |
AbstractProcess.isThisMyAddress(URLDescriptor theURL) |
boolean |
TransientAgent.isTrusted(URLDescriptor url,
Node node) |
boolean |
TransientAgent.isTrusted(URLDescriptor url,
String node) |
Status |
CooperationDomain.join(URLDescriptor joiner)
Adds the specified agent to the list of current members and notifies any
agents that are observing membership that a new member has joined the
cooperation domain.
|
private Status |
TransientAgent.NewAgentLispCommand.makeAgentInAnotherProc(TransientAgent agent,
ParamsMap params,
AgentUI ui,
Environment env,
URLDescriptor url) |
Status |
CooperationDomain.observeMessages(URLDescriptor agent,
String replyWith,
boolean addIfTrue)
Adds or removes the given agent to/from the message notification list.
|
boolean |
TransientAgent.queryIf(URLDescriptor url,
String expression,
long timeout) |
Collection<Term> |
TransientAgent.queryRef(URLDescriptor url,
String expression,
long timeout)
Sends a synchronous query ref the url and returns the
reply.
|
Collection<AID> |
TransientAgent.queryRefAIDs(URLDescriptor url,
String expression,
long timeout) |
Collection<URLDescriptor> |
TransientAgent.queryRefURLs(URLDescriptor url,
String expression,
long timeout) |
StatusURLandFile |
LAC.registerAgentInstance(URLDescriptor newURL)
Registers an agent instance according to
LACInterface.registerAgentInstance(URLDescriptor) . |
void |
TransientAgent.removeCooperationDomains(URLDescriptor url) |
void |
TransientAgent.removeJoinedCooperationDomain(URLDescriptor url) |
Status |
LAC.resolveURL(URLDescriptor url)
Attempts to resolve a URL by the following method:
checks for matching registered agent instances and updates url
and returns if a match is found.
|
Status |
LAC.runAgent(URLDescriptor url)
Run an agent based on the parameter URL.
|
Status |
AbstractProcess.sendMessage(String performative,
String act,
URLDescriptor reciever,
String... list)
Utility method to construct and send a message asynchronously using
AbstractProcess.sendMessage(MLMessage) . |
MLMessage |
AbstractProcess.sendRequestAndWait(String performative,
String act,
URLDescriptor reciever,
String... list)
Utility method to construct and send a syncronous message using
AbstractProcess.sendRequestAndWait(MLMessage, long, MessageEventDescriptor...) . |
void |
AdvertisementDescriptor.setAdvertisor(URLDescriptor newAdvertisor) |
private void |
TransientAgent.setRegisteredWithLAC(URLDescriptor r) |
void |
StatusURLDescriptor.setURL(URLDescriptor url) |
void |
ServiceDescriptor.setURL(URLDescriptor url) |
void |
AbstractProcess.setURL(URLDescriptor url)
Sets the URL of for current process
|
static String |
CASAProcess.staticUrl2file(URLDescriptor url)
Returns a complete file spec string corresponding to the URL.
|
Status |
LAC.unregisterAgentInstance(URLDescriptor newURL)
Unregisters an agent instance according to LACInterface.unregisterAgentInstance(URLDescriptor).
|
String |
LAC.url2file(URLDescriptor url)
Returns a complete file spec string corresponding to the URL.
|
protected boolean |
TransientAgent.verifyCD(URLDescriptor url) |
Status |
CooperationDomain.withdraw(URLDescriptor member)
Removes the specified agent from the list of current members and notifies
any agents that are observing membership that a member has withdrawn from
the cooperation domain.
|
Modifier and Type | Method and Description |
---|---|
Vector<URLDescriptor> |
TransientAgent.addMembers(URLDescriptor cd,
Vector<URLDescriptor> urls) |
static MLMessage |
CooperationDomain.constructCDProxyMessage(MLMessage message,
URLDescriptor sender,
URLDescriptor cd,
List<URLDescriptor> to,
boolean whisper)
Constructs a new proxy message which instructs the cooperation domain to
forward the encapsulated directed or whisper message.
|
protected LinkedList<URLDescriptor> |
LAC.createPriorityQueue(LinkedList<URLDescriptor> lList)
Since there is a specific order to follow during the event LAC.LAC_CLOSING, this function organizes
all the URLDescriptors of the running agents (under this process) in a PriorityQueue.
|
void |
StatusURLDescriptorList.setURLs(List<URLDescriptor> urls) |
Constructor and Description |
---|
AdvertisementDescriptor(URLDescriptor newAdvertisor,
PropertiesMap newProperties) |
AdvertisementDescriptor(URLDescriptor newAdvertisor,
String newService) |
AgentRemoteProxyHandler(URLDescriptor target) |
CasaObservableObject(URLDescriptor url,
AbstractProcess agent) |
EventNotificationURL(ProcessInterface agent,
String eventType,
Object obj,
URLDescriptor url) |
ServiceDescriptor(String service,
URLDescriptor url) |
StatusURLandFile(int status,
URLDescriptor url,
String file) |
StatusURLandFile(int status,
URLDescriptor url,
String file,
String comment) |
StatusURLDescriptor(int status,
URLDescriptor url) |
StatusURLDescriptor(int status,
URLDescriptor url,
String comment) |
Constructor and Description |
---|
StatusURLDescriptorList(int status,
List<URLDescriptor> urls) |
StatusURLDescriptorList(int status,
String explanation,
List<URLDescriptor> urls) |
Modifier and Type | Field and Description |
---|---|
private URLDescriptor |
TCPChannel.remoteURL
The URL of the remote side of the connection
|
(package private) URLDescriptor |
SocketTest.remoteURL |
(package private) URLDescriptor |
URLAndInt.url |
Modifier and Type | Field and Description |
---|---|
private static List<URLDescriptor> |
URLDescriptor.knownURLs |
Modifier and Type | Method and Description |
---|---|
private static URLDescriptor |
URLDescriptor.disambiguate(URLDescriptor target,
URLDescriptor x,
URLDescriptor y) |
static URLDescriptor |
URLDescriptor.fromString(String url_string) |
static URLDescriptor |
URLDescriptor.fromString(TokenParser parser)
Constructs a URLDescriptor using the TokenParser input
|
static URLDescriptor[] |
URLDescriptor.getKnownURLs() |
URLDescriptor |
URLset.getUniqueElement() |
URLDescriptor |
TCPChannel.getURL() |
static URLDescriptor |
URLDescriptor.make(InetAddress host,
int port) |
static URLDescriptor |
URLDescriptor.make(int port)
Create a URL for the local machine on port
|
static URLDescriptor |
URLDescriptor.make(String url_string) |
static URLDescriptor |
URLDescriptor.make(String user,
InetAddress host,
int port,
String path) |
static URLDescriptor |
URLDescriptor.make(String user,
InetAddress host,
int port,
String path,
String data) |
static URLDescriptor |
URLDescriptor.make(String user,
InetAddress host,
int port,
String path,
String data,
String fragment) |
static URLDescriptor |
URLDescriptor.make(String host,
String port) |
static URLDescriptor |
URLDescriptor.make(String host,
String port,
String user) |
static URLDescriptor |
URLDescriptor.make(String user,
String host,
String port,
String path) |
static URLDescriptor |
URLDescriptor.make(URLDescriptor url) |
URLDescriptor |
URLDescriptor.popViaAtEnd()
Removes the last url from the via data item in the url ("?via=").
|
private static URLDescriptor |
URLDescriptor.resolve(URLDescriptor url) |
URLDescriptor[] |
URLset.toArray()
Returns an array containing all of the elements in this set.
|
Modifier and Type | Method and Description |
---|---|
Stack<URLDescriptor> |
URLDescriptor.getViaStack()
Builds a stack of
URLDescriptor s from the via
data item in this url |
Modifier and Type | Method and Description |
---|---|
boolean |
URLset.add(URLDescriptor o)
Adds the specified element to this set if it is not already present
(optional operation).
|
private TCPChannel |
SocketServerTCPIP.addConnection(URLDescriptor url,
SelectionKey key,
InfiniteReadWriteByteBuffer initBuffer)
Creates a new
TCPChannel object, and links it to url. |
int |
URLDescriptor.compareTo(URLDescriptor o) |
boolean |
URLset.contains(URLDescriptor o)
Returns true if this set contains the specified element.
|
boolean |
URLDescriptor.containsVia(URLDescriptor url)
Checks if the via data item contains the parameter url.
|
void |
URLDescriptor.copy(URLDescriptor url)
Copy the contents of the param url to this one.
|
private static URLDescriptor |
URLDescriptor.disambiguate(URLDescriptor target,
URLDescriptor x,
URLDescriptor y) |
private SelectionKey |
TCPChannel.getConnection(URLDescriptor url)
Utility method to return any TCPChannelGlobal currently associated with the url.
|
String |
URLDescriptor.getFullAddress(URLDescriptor relativeTo) |
boolean |
URLDescriptor.local(URLDescriptor relativeTo)
Determine if this address is local relative to 'relativeTo'.
|
static URLDescriptor |
URLDescriptor.make(URLDescriptor url) |
private void |
URLDescriptor.mergeWith(URLDescriptor url) |
void |
URLDescriptor.pushViaAtEnd(URLDescriptor endURL)
Appends the endURL url to the end of the via data item in the
url ("?via=").
|
boolean |
URLset.remove(URLDescriptor o)
Removes the specified element from this set if it is present (optional
operation).
|
private static URLDescriptor |
URLDescriptor.resolve(URLDescriptor url) |
String |
URLDescriptor.toString(URLDescriptor relativeTo)
Simply calls #getFullAddress(relativeTo)
|
Modifier and Type | Method and Description |
---|---|
void |
URLDescriptor.putViaStack(Stack<URLDescriptor> stack)
Replaces the via data item with one constructed from the
stack parameter.
|
Constructor and Description |
---|
TCPChannel(AbstractProcess creator,
URLDescriptor url,
SocketServerInterface owner)
Create a new channel by connecting to a remote server socket.
|
TCPChannel(URLDescriptor url,
SelectionKey key,
SocketServerInterface owner,
InfiniteReadWriteByteBuffer initBuffer)
Create a new Channel from a incoming message on a server socket.
|
URLAndInt(URLDescriptor url,
int i) |
URLDescriptor(URLDescriptor url) |
Modifier and Type | Field and Description |
---|---|
private URLDescriptor |
Lot.auctionCD |
private URLDescriptor |
Lot.currentBidder |
private URLDescriptor |
Lot.previousBidder |
Modifier and Type | Field and Description |
---|---|
private Hashtable<URLDescriptor,Lot> |
AuctionAgent.bids
Manage items currently being bid upon
|
private Hashtable<URLDescriptor,Lot> |
AuctionAgent.lots
Manage the items currently on the block
|
Modifier and Type | Method and Description |
---|---|
URLDescriptor |
Lot.getAuctionCD() |
URLDescriptor |
Lot.getCurrentBidder() |
URLDescriptor |
Lot.getPreviousBidder() |
Modifier and Type | Method and Description |
---|---|
Hashtable<URLDescriptor,Lot> |
AuctionAgent.getBids() |
Hashtable<URLDescriptor,Lot> |
AuctionAgent.getLots() |
Modifier and Type | Method and Description |
---|---|
void |
Lot.setCurrentBidder(URLDescriptor bidder) |
Status |
AuctionCD.withdraw(URLDescriptor member) |
Constructor and Description |
---|
Lot(Product product,
URLDescriptor url) |
Lot(String name,
Integer price,
URLDescriptor url) |
Lot(String name,
Integer price,
URLDescriptor url,
Integer startingBid,
URLDescriptor currentBidder,
URLDescriptor previousBidder) |
Modifier and Type | Field and Description |
---|---|
URLDescriptor |
DutchAuctionAgent.RecurringCryEvent.auctionCD |
Modifier and Type | Field and Description |
---|---|
(package private) HashMap<URLDescriptor,DutchAuctionAgent.RecurringCryEvent> |
DutchAuctionAgent.cryNewPriceEvents |
Constructor and Description |
---|
RecurringCryEvent(String newType,
PolicyAgentInterface agent,
long newFirstTime,
long newTimeBetweenOccurrences,
URLDescriptor auctionCD) |
Modifier and Type | Field and Description |
---|---|
protected URLDescriptor |
SealedBidAuctionAgent.winningBidder |
Modifier and Type | Method and Description |
---|---|
protected void |
SubscribeClientConversation.update(URLDescriptor agentB,
Term exp) |
Constructor and Description |
---|
SubscribeClientConversation(String name,
TransientAgent ownerAgent,
URLDescriptor to,
String expression,
String filter)
tells the server that we are interested in events represented by the lisp expression
|
Modifier and Type | Field and Description |
---|---|
(package private) URLDescriptor |
AmbiguousURLException.target |
(package private) URLDescriptor |
AmbiguousURLException.url1 |
(package private) URLDescriptor |
AmbiguousURLException.url2 |
Modifier and Type | Method and Description |
---|---|
URLDescriptor |
AmbiguousURLException.getTarget() |
Modifier and Type | Method and Description |
---|---|
Pair<URLDescriptor,URLDescriptor> |
AmbiguousURLException.getConflictingURLS() |
Pair<URLDescriptor,URLDescriptor> |
AmbiguousURLException.getConflictingURLS() |
Constructor and Description |
---|
AmbiguousURLException(URLDescriptor target,
URLDescriptor url1,
URLDescriptor url2) |
Modifier and Type | Method and Description |
---|---|
URLDescriptor |
TransientAgentInterface.doPing_sync(URLDescriptor agent,
long timeout)
Pings another agent synchronously.
|
URLDescriptor |
TransientAgentInterface.getLACURL()
Returns the URL of the LAC the agent is registered to.
|
URLDescriptor |
ProcessInterface.getURL()
Returns the URL of the current process
|
URLDescriptor |
PolicyAgentInterface.getURL()
Returns the URL of the current process
|
Modifier and Type | Method and Description |
---|---|
Set<URLDescriptor> |
TransientAgentInterface.getJoinedCooperationDomains() |
Vector<URLDescriptor> |
TransientAgentInterface.getMembers(URLDescriptor cd) |
Modifier and Type | Method and Description |
---|---|
void |
ProcessInterface.addObserver(URLDescriptor observer)
Extension to the Observable interface from the observer pattern (Gamma et al.).
|
void |
ChatAgentInterface.chatMessage(URLDescriptor cd,
MLMessage message)
Performs operations necessary when a chat message has been received.
|
void |
ProcessInterface.deleteObserver(URLDescriptor observer)
Extension to the Observable interface from the observer pattern (Gamma et al.).
|
Status |
TransientAgentInterface.doAdvertise(URLDescriptor yp,
ServiceDescriptor service)
This method is called when this agent wishes to advertises a service.
|
StatusMLMessageList |
TransientAgentInterface.doCDGetHistory_sync(URLDescriptor cdURL)
Retrieves the history list from a cooperation domain.
|
Status |
TransientAgentInterface.doCDGetMembers(URLDescriptor cd)
Attempts to retrieve the list of participants in a the specified cooperation domain.
|
Status |
TransientAgentInterface.doCDPutData(URLDescriptor cdURL,
DataStorageDescriptor dsd)
Attempts to store data with a Cooperation Domain.
|
Vector |
TransientAgentInterface.doGetCooperationDomains(URLDescriptor cds)
Retrieves the list of URLDescriptor's from a cooperation domain server.
|
Status |
TransientAgentInterface.doGetOnology(URLDescriptor url,
String GET_PERFORMATIVESorGET_ACTS,
String typeName)
Sends a message to retrieve information about the performatives in the
performative type library of another agent.
|
Status |
TransientAgentInterface.doInviteToCD(URLDescriptor agent,
URLDescriptor cd,
boolean sense)
Requests an agent to join a particular cooperation domain.
|
Status |
TransientAgentInterface.doJoinCD(URLDescriptor cd)
Join a cooperation domain.
|
URLDescriptor |
TransientAgentInterface.doPing_sync(URLDescriptor agent,
long timeout)
Pings another agent synchronously.
|
Status |
TransientAgentInterface.doPing(URLDescriptor agent,
long timeout)
Pings another agent.
|
StatusURLDescriptorList |
TransientAgentInterface.doSearchYP(URLDescriptor yp,
ServiceDescriptor service)
Attempts to search a yellow pages service for a agents matching a particular
service descriptor.
|
Status |
ChatAgentInterface.doSendChatMessage(URLDescriptor cd,
List<URLDescriptor> to,
boolean whisper,
String message)
Sends the given chat message through the given cooperation domain to the
given agents.
|
Status |
ChatAgentInterface.doSendChatMessage(URLDescriptor cd,
String message)
Sends the given chat message through the given cooperation domain to all
current members of that cooperation domain.
|
Status |
ChatAgentInterface.doSendChatMessage(URLDescriptor cd,
URLDescriptor to,
boolean whisper,
String message)
Sends the given chat message through the given cooperation domain to the
given agent.
|
Status |
TransientAgentInterface.doUnadvertise(URLDescriptor yp,
ServiceDescriptor service)
This method is called when this agent wishes to withdraw a previously
advertised service from a yellow pages service.
|
Status |
TransientAgentInterface.doWithdrawCD(URLDescriptor cd,
boolean request)
Withdraw from a cooperation domain.
|
StatusMLMessageList |
CooperationDomainInterface.getHistory(URLDescriptor member)
Retrieves the history for a given agent in the cooperation domain.
|
Vector<ChatMessage> |
ChatAgentInterface.getHistory(URLDescriptor cd)
Retrieves the message history for the given cooperation domain.
|
Vector<URLDescriptor> |
TransientAgentInterface.getMembers(URLDescriptor cd) |
MLMessage |
ProcessInterface.getNewMessage(String performative,
String act,
URLDescriptor reciever)
Creates a basic message with the given performative, act, and receiver.
|
Status |
CooperationDomainInterface.join(URLDescriptor joiner)
Adds the specified agent to the list of current members and notifies any
agents that are observing membership that a new member has joined the
cooperation domain.
|
StatusURLandFile |
LACInterface.registerAgentInstance(URLDescriptor newURL)
Registers an instance of an agent with the LAC.
|
void |
TransientAgentInterface.removeCooperationDomains(URLDescriptor url) |
Status |
LACInterface.resolveURL(URLDescriptor url)
Resolved an unresolved URL.
|
Status |
LACInterface.unregisterAgentInstance(URLDescriptor newURL)
De-registers an instance of an agent with the LAC.
|
Status |
CooperationDomainInterface.withdraw(URLDescriptor member)
Removes the specified agent from the list of current members and notifies
any agents that are observing membership that a member has withdrawn from
the cooperation domain.
|
Modifier and Type | Method and Description |
---|---|
Status |
ChatAgentInterface.doSendChatMessage(URLDescriptor cd,
List<URLDescriptor> to,
boolean whisper,
String message)
Sends the given chat message through the given cooperation domain to the
given agents.
|
Modifier and Type | Field and Description |
---|---|
(package private) URLDescriptor |
Policy.SCOpData.creditor |
(package private) URLDescriptor |
Policy.SCOpData.debtor |
Modifier and Type | Method and Description |
---|---|
void |
ServiceAgent.OffersCommand.execute(URLDescriptor cd,
String to) |
void |
ServiceAgent.executeServiceDescriptor(int index,
URLDescriptor cd) |
Modifier and Type | Field and Description |
---|---|
private URLDescriptor |
SocialCommitment.creditor
The creditor of this commitment.
|
private URLDescriptor |
SocialCommitment.debtor
The debtor of this commitment.
|
Modifier and Type | Method and Description |
---|---|
URLDescriptor |
SocialCommitment.getCreditor()
Retrieves the creditor of this commitment.
|
URLDescriptor |
SocialCommitment.getDebtor()
Retrieves the debtor of this commitment.
|
Modifier and Type | Method and Description |
---|---|
void |
SocialCommitmentsStore.addCommitment(PolicyAgentInterface agent,
URLDescriptor debtor,
URLDescriptor creditor,
String performative,
Act act,
Event event,
Action action)
This adds a commitment with the specified arguments.
|
List<SocialCommitment> |
SocialCommitmentsStore.getCommitments(URLDescriptor debtor,
URLDescriptor creditor) |
List<SocialCommitment> |
SocialCommitmentsStore.getCommitments(URLDescriptor debtor,
URLDescriptor creditor,
Set<SocialCommitmentStatusFlags> mask) |
private SocialCommitmentsStore.InnerMap |
SocialCommitmentsStore.getInnerMap(URLDescriptor debtor) |
private SocialCommitmentsStore.SCs |
SocialCommitmentsStore.getVector(URLDescriptor debtor) |
private SocialCommitmentsStore.SCs |
SocialCommitmentsStore.getVector(URLDescriptor debtor,
URLDescriptor creditor,
boolean create) |
void |
SocialCommitmentsStore.removeCommitment(PolicyAgentInterface agent,
URLDescriptor debtor,
URLDescriptor creditor,
String performative,
Act act,
Event event,
Action action)
This removes a commitment formed from the parameters.
|
Constructor and Description |
---|
DependantSocialCommitment(PolicyAgentInterface agent,
SocialCommitment guard,
URLDescriptor newDebtor,
URLDescriptor newCreditor,
String newPerformative,
Act newAct,
Event event,
Action action) |
DependantSocialCommitment(PolicyAgentInterface agent,
SocialCommitment guard,
URLDescriptor newDebtor,
URLDescriptor newCreditor,
String newPerformative,
Act newAct,
Event event,
Action action,
Event... events) |
SocialCommitment(PolicyAgentInterface agent,
URLDescriptor newDebtor,
URLDescriptor newCreditor,
String newPerformative,
Act newAct,
Event event,
Action newAction)
Constructs a new social commitment from the given information.
|
SocialCommitment(PolicyAgentInterface agent,
URLDescriptor newDebtor,
URLDescriptor newCreditor,
String newPerformative,
Act newAct,
Event event,
Action newAction,
Event... newEvents)
Constructs a new social commitment from the given information.
|
Modifier and Type | Field and Description |
---|---|
private URLDescriptor |
FulfilSocialCommitment.creditor |
private URLDescriptor |
CancelSocialCommitment.creditor |
protected URLDescriptor |
AddSocialCommitment.creditor |
private URLDescriptor |
FulfilSocialCommitment.debtor |
private URLDescriptor |
CancelSocialCommitment.debtor |
protected URLDescriptor |
AddSocialCommitment.debtor |
Modifier and Type | Method and Description |
---|---|
URLDescriptor |
AddSocialCommitment.getCreditor() |
URLDescriptor |
AddSocialCommitment.getDebtor() |
Constructor and Description |
---|
AddDependentSocialCommitment(SocialCommitmentDescriptor scDescriptor,
URLDescriptor debtor,
URLDescriptor creditor,
String performative,
Act act,
Event event,
Class<? extends Action> actionClass,
Object actionData,
boolean shared,
boolean persistent,
Condition condition,
Event[] events) |
AddSocialCommitment(URLDescriptor newDebtor,
URLDescriptor newCreditor,
String newPerformative,
Act newAct,
Event newEvent,
Class<? extends Action> newActionClass,
Object newActionData,
boolean newShared,
boolean newPersistent,
Condition newCondition,
Event[] newEvents) |
CancelSocialCommitment(URLDescriptor debtor,
URLDescriptor creditor,
String performative,
Act act,
Event event) |
FulfilSocialCommitment(URLDescriptor debtor,
URLDescriptor creditor,
String performative,
Act act,
Event event) |
Modifier and Type | Field and Description |
---|---|
private URLDescriptor |
ChatMessage.cd
Stores the
URLDescriptor of the cooperation domain that this message was sent through. |
protected URLDescriptor |
ChatAgent.currentCD |
private URLDescriptor |
ChatMessage.sender
Stores the
URLDescriptor of the sender of the message. |
Modifier and Type | Field and Description |
---|---|
private Hashtable<URLDescriptor,Vector<ChatMessage>> |
ChatAgent.cooperationDomainHistories
A
Hashtable linking the URLDescriptor of a
cooperation domain to a Vector of the message history
(ChatMessage s) of that cooperation domain. |
private Vector<URLDescriptor> |
ChatMessage.recipients
Stores a
Vector containing the recipients (URLDescriptor s) of the message. |
Modifier and Type | Method and Description |
---|---|
URLDescriptor |
ChatMessage.getCD()
Retrieves the cooperation domain of the chat message.
|
URLDescriptor |
ChatMessage.getSender()
Retrieves the sender of the chat message as a
URLDescriptor . |
Modifier and Type | Method and Description |
---|---|
void |
ChatAgent.chatMessage(URLDescriptor cd,
MLMessage message)
Performs operations necessary when a chat message has been received.
|
Status |
ChatAgent.doSendChatMessage(URLDescriptor cd,
List<URLDescriptor> to,
boolean whisper,
String message)
Sends the given chat message through the given cooperation domain to the
given agents.
|
Status |
ChatAgent.doSendChatMessage(URLDescriptor cd,
String message)
Sends the given chat message through the given cooperation domain to all
current members of that cooperation domain.
|
Status |
ChatAgent.doSendChatMessage(URLDescriptor cd,
URLDescriptor to,
boolean whisper,
String message)
Sends the given chat message through the given cooperation domain to the
given agent.
|
Vector<ChatMessage> |
ChatAgent.getHistory(URLDescriptor cd)
Retrieves the message history for the given cooperation domain.
|
Status |
ChatAgent.informAgent_GUIOperationRequest(URLDescriptor receiverURL,
String content)
Deprecated.
|
protected void |
ChatAgent.nonMemberMessage(MLMessage message,
URLDescriptor sender) |
void |
ChatAgent.putCooperationDomainHistory(URLDescriptor url,
Vector<ChatMessage> msg) |
void |
ChatAgent.removeCooperationDomainHistory(URLDescriptor url) |
void |
ChatMessage.setCD(URLDescriptor cd)
Sets the cooperation domain of the chat message.
|
void |
ChatMessage.setSender(URLDescriptor sender)
Sets the sender of the chat message as a
URLDescriptor . |
Modifier and Type | Method and Description |
---|---|
Status |
ChatAgent.doSendChatMessage(URLDescriptor cd,
List<URLDescriptor> to,
boolean whisper,
String message)
Sends the given chat message through the given cooperation domain to the
given agents.
|
void |
ChatMessage.setDirected(Vector<URLDescriptor> recipients)
Sets the message so that it is "directed" with the specified recipients.
|
void |
ChatMessage.setRecipients(Vector<URLDescriptor> recipients)
Sets the list of recipients of the message.
|
void |
ChatMessage.setWhisper(Vector<URLDescriptor> recipients)
Sets the message so that it is a "whisper" with the specified exclusive
recipients.
|
Constructor and Description |
---|
ChatMessage(MLMessage message,
URLDescriptor cd)
Creates a new
ChatMessage from the given
MLMessage and the given cooperation domain. |
ChatMessage(String message,
URLDescriptor sender,
URLDescriptor cd)
Creates a new
ChatMessage that is not a "directed" message or
a "whisper" with the given message text, sender, and cooperation domain. |
Modifier and Type | Field and Description |
---|---|
private HashMap<URLDescriptor,Inventory> |
MarketProfile.profile |
protected Hashtable<String,URLDescriptor> |
TransactionAgent.runningAgents
All agents currently registered with the LAC
|
Modifier and Type | Method and Description |
---|---|
URLDescriptor |
MarketProfile.getHighestAgent(Product product)
Return the URL of the agent that will pay the highest price for the product
|
URLDescriptor |
MarketProfile.getLowestAgent(Product product)
Return the URL of the agent that is offering the product for the lowest price
|
Modifier and Type | Method and Description |
---|---|
HashMap<URLDescriptor,Inventory> |
MarketProfile.getProfile() |
Hashtable<String,URLDescriptor> |
TransactionAgent.getRunningAgents() |
Modifier and Type | Method and Description |
---|---|
void |
MarketProfile.add(URLDescriptor url,
Product product) |
Inventory |
MarketProfile.getAgentInventory(URLDescriptor url)
Retrieve the inventory of the interesting agent
|
void |
MarketProfile.remove(URLDescriptor url) |
Modifier and Type | Field and Description |
---|---|
private Hashtable<String,URLDescriptor> |
JoinCDDialog.cdHashtable |
(package private) Hashtable<String,URLDescriptor> |
ChatFriendInteractionDialog.cdHashtable |
private List<URLDescriptor> |
JoinCDDialog.cdListNew |
protected Hashtable<String,URLDescriptor> |
AbstractInternalFrame.guiObserver |
(package private) Vector<URLDescriptor> |
CooperationDomainListModel.membersList |
Modifier and Type | Method and Description |
---|---|
private void |
CooperationDomainWindow.joinedMembersList(URLDescriptor joinerURL) |
private void |
CooperationDomainWindow.withdrewMembersList(URLDescriptor withdrawnURL) |
Modifier and Type | Method and Description |
---|---|
protected void |
CooperationDomainWindow.updateCDmemberJList(Vector<URLDescriptor> memberList)
Updates the listCDMembers JLists and enables or disables the menuCD_Withdrawn menu item
according to the parameter.
|
protected void |
AbstractInternalFrame.updateCDmemberJList(Vector<URLDescriptor> memberList)
Updates the listCDMembers JLists and enables or disables the menuCD_Withdrawn menu item
according to the parameter.
|
Constructor and Description |
---|
AgentRemoteProxyWindow(URLDescriptor remoteAgent) |
Constructor and Description |
---|
CooperationDomainListModel(Vector<URLDescriptor> members) |
Modifier and Type | Field and Description |
---|---|
private static TreeMap<URLDescriptor,TransientAgentInterface> |
AgentLookUpTable.lookUpTable
Serves as an Agent Look-up table.
|
Modifier and Type | Method and Description |
---|---|
static URLDescriptor |
AgentLookUpTable.findByName(String name) |
Modifier and Type | Method and Description |
---|---|
static Set<URLDescriptor> |
AgentLookUpTable.keys() |
static Set<URLDescriptor> |
AgentLookUpTable.keySet() |
Modifier and Type | Method and Description |
---|---|
static boolean |
AgentLookUpTable.containsKey(URLDescriptor key) |
static TransientAgentInterface |
AgentLookUpTable.get(URLDescriptor key) |
static TransientAgentInterface |
AgentLookUpTable.put(URLDescriptor key,
TransientAgentInterface value) |
static TransientAgentInterface |
AgentLookUpTable.remove(URLDescriptor key) |
Modifier and Type | Field and Description |
---|---|
(package private) URLDescriptor |
Controller.server
the server agent that this Controller will communicate with
|
Modifier and Type | Method and Description |
---|---|
URLDescriptor |
Controller.getServer() |