|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectaa.core.Actor
app.quickstart.dm.Seller
A seller actor.
History:
Field Summary | |
private int |
m_iPrice
|
private java.lang.String |
m_strModel
|
Fields inherited from class aa.core.Actor |
m_athread |
Constructor Summary | |
Seller(java.lang.String p_strModel)
Creates this actor. |
Method Summary | |
void |
checkPrice()
Prints the current price of this product. |
void |
checkPrice(ActorName p_anSender)
Sends the current price of this product. |
void |
decreasePrice()
Decreases the price of this product. |
void |
increasePrice()
Increases the price of this product. |
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 int m_iPrice
private java.lang.String m_strModel
Constructor Detail |
public Seller(java.lang.String p_strModel)
p_strModel
- the model name of a computer.Method Detail |
public void increasePrice()
public void decreasePrice()
public void checkPrice()
public void checkPrice(ActorName p_anSender)
p_anSender
- the name of an actor that requested this service.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |