|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectaa.core.Actor
app.quickstart.dm.Buyer
A buyer actor.
History:
Field Summary | |
private ActorName |
m_anDM
|
Fields inherited from class aa.core.Actor |
m_athread |
Constructor Summary | |
Buyer()
Creates this actor. |
Method Summary | |
void |
deliver()
Requests the price of any item. |
void |
deliver(java.lang.String p_strItem)
Requests the price of an item whose type is selected. |
void |
deliverAll()
Requests prices of all items. |
void |
deliverAll(java.lang.String p_strItem)
Requests prices of items whose type is selected. |
void |
price(ActorName p_anActor,
java.lang.String p_strItem,
java.lang.Integer p_intPrice)
Prints the price of a product. |
void |
search()
Checks the price of any item. |
void |
search(java.lang.String p_strItem)
Checks the price of an item whose type is selected. |
void |
searchAll()
Checks prices of all items. |
void |
searchAll(java.lang.String p_strItem)
Checks prices of items whose type is selected. |
Methods inherited from class aa.core.Actor |
become, become, become, become, become, become, become, become, become, become, become, becomeActor, call, call, call, call, call, call, call, call, call, call, call, callMessage, create, create, create, create, create, create, create, create, create, create, create, createActor, createRemote, createRemote, createRemote, createRemote, createRemote, createRemote, createRemote, createRemote, createRemote, createRemote, createRemote, createRemoteActor, destroy, echo, getActorName, getDefaultDirectoryManager, getDefaultDirectoryManager, getLastErrorMessage, migrate, print, printLastErrorMessage, println, send, send, send, send, send, send, send, send, send, send, send, sendMessage, setErrorMessage, uninit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private ActorName m_anDM
Constructor Detail |
public Buyer()
Method Detail |
public void search(java.lang.String p_strItem)
p_strItem
- an item type selected.public void search()
public void searchAll(java.lang.String p_strItem)
p_strItem
- an item type selected.public void searchAll()
public void deliver(java.lang.String p_strItem)
p_strItem
- an item type selected.public void deliver()
public void deliverAll(java.lang.String p_strItem)
p_strItem
- an item type selected.public void deliverAll()
public void price(ActorName p_anActor, java.lang.String p_strItem, java.lang.Integer p_intPrice)
p_anActor
- the name of an actor that activate this method.p_strItem
- the name of a product item.p_intPrice
- the price of the item.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |