| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
fipaos.agent.FIPAOSAgent | +--fipaos.tutorial.emarkets.agent.SubscribingAgent | +--fipaos.tutorial.emarkets.agent.buyer.BuyerAgent
The BuyerAgent class represents an agent seeking to make purchases in a an e-marketplace
Inner classes inherited from class fipaos.agent.FIPAOSAgent |
FIPAOSAgent.TopLevelHandlerTask |
Fields inherited from class fipaos.agent.FIPAOSAgent |
_registered_with, _state |
Constructor Summary | |
BuyerAgent(String platform_profile, String name, String owner, String type) Constructs a buyer agent |
Method Summary | |
void | dealWithEscrowProtocolFailure(Object failure) Callback method to indicate that the escrow agent detected errors while matching our claims with those made by the seller |
void | dealWithEscrowProtocolInform(Object inform) Callback to handle a success signal from the escrow service. |
void | dealWithFIPASubscribeInform(Object notification) Callback method to signal that an inform message was sent by the agent we are subscribed to |
void | dealWithFIPASubscribeRefuse(Object content) Callback method to indicate that our attempt to subscribe to an agent was refused |
void | dealWithNegotiationProtocolAcceptProposal(Object acceptproposal) Callback method to signal that an accept-proposal message was received from the seller. |
void | dealWithNegotiationProtocolCfp(Object[] cfp) Callback method to signal that a CFP message was received from the seller. |
void | dealWithNegotiationProtocolInform(Object inform) Callback method to signal that an inform message was received from the seller. |
void | dealWithNegotiationProtocolRejectProposal(Object rejectproposal) Callback method to signal that a reject-proposal message was received from the seller. |
void | dealWithNegotiationProtocolStart(Object[] cfp) Callback method to signal that a CFP message was received from the seller. |
void | doneEscrowProtocolInitiatorHandlerTask(Task t) Callback method to notify the BuyerAgent that its interaction with the escrow agent has finished |
int | getCredits() |
int | getItems() |
int | getTargetItems() |
void | GUIClosed() Invoked when the buyer's gui is closed. |
synchronized void | shutdown() Attempts to unsubscribe from the market manager before shutting down the agent |
Methods inherited from class fipaos.tutorial.emarkets.agent.SubscribingAgent |
addAgent, doneFIPASubscribeInitiatorHandlerTask, doneFIPASubscribeInitiatorHandlerTask, getSubscribedWith, searchForAgents, subscribe, subscriberGUIClosed, unsubscribe |
Methods inherited from class fipaos.agent.FIPAOSAgent |
activate, forward, forward, getAID, getCurrentConversation, getHAP, getLocalAMS, getLocalAMSAID, getLocalDF, getLocalDFAID, getNewConversation, getOwnership, getPlatformProfile, getProfile, getState, isShutdown, notify, notify, notifyDone, notifyError, notifyMessageInEndedConversation, notifyMessageUndeliverable, notifyTimeout, sendNotUnderstood, sendNotUnderstood, setMessageSender, waitForPushLock |
Constructor Detail |
public BuyerAgent(String platform_profile, String name, String owner, String type)
Method Detail |
public void dealWithEscrowProtocolFailure(Object failure)
public void dealWithEscrowProtocolInform(Object inform)
public void dealWithFIPASubscribeInform(Object notification)
public void dealWithFIPASubscribeRefuse(Object content)
public void dealWithNegotiationProtocolAcceptProposal(Object acceptproposal)
public void dealWithNegotiationProtocolCfp(Object[] cfp)
public void dealWithNegotiationProtocolInform(Object inform)
public void dealWithNegotiationProtocolRejectProposal(Object rejectproposal)
public void dealWithNegotiationProtocolStart(Object[] cfp)
public void doneEscrowProtocolInitiatorHandlerTask(Task t)
public int getCredits()
public int getItems()
public int getTargetItems()
public void GUIClosed()
public synchronized void shutdown()
Association Links |
to Class fipaos.ont.fipa.fipaman.AgentID
to Class java.lang.String
to Class fipaos.tutorial.emarkets.message.BuyerEmarketMessage
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |