| |||||||||
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.seller.SellerAgent
This class represents an agent that wishes to sell goods in 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 | |
SellerAgent(String platform_profile, String name, String owner, String type) Constructs a SellerAgent |
Method Summary | |
void | dealWithEscrowProtocolFailure(Object failure) Callback to signal that the escrow agent found errors between our escrow message and a message sent by a buyer that we made deals with |
void | dealWithEscrowProtocolInform(Object inform) Callback to indicate that an escrow message we sent to the escrow agent was successfully validated against an equivalent message sent by a buyer that we made deals with |
void | dealWithFIPASubscribeInform(Object notification) Callback to signal that the agent we are subscribed with has sent us a notification |
void | dealWithFIPASubscribeRefuse(Object content) Callback to show that our attempt to subscribe to an agent was refused |
void | dealWithNegotiationProtocolPropose(Object[] propose) Callback to signal that a buyer has made a proposal in response to our CFP message |
void | doneEmarketsTimerTask(Object obj) Signals that the time by which proposals to a CFP must be received has arrived |
void | doneEscrowProtocolInitiatorHandlerTask(Task t) Callback to indicate that the task used to communicate with the escrow agent has completed |
void | doneNegotiationProtocolInitiatorHandlerTask(Task t) Callback to signal that the negotiation task used to communicate with a buyer has completed |
int | getCredits() |
int | getItems() |
int | getTargetCredits() |
void | GUIClosed() Invoked when the seller 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 SellerAgent(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 dealWithNegotiationProtocolPropose(Object[] propose)
public void doneEmarketsTimerTask(Object obj)
public void doneEscrowProtocolInitiatorHandlerTask(Task t)
public void doneNegotiationProtocolInitiatorHandlerTask(Task t)
public int getCredits()
public int getItems()
public int getTargetCredits()
public void GUIClosed()
public synchronized void shutdown()
Association Links |
to Class java.util.Hashtable
to Class java.util.Hashtable
to Class java.util.Hashtable
to Class java.util.Vector
to Class java.lang.String
to Class fipaos.tutorial.emarkets.message.SellerEmarketMessage
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |