public abstract class AbstractActorHolder extends java.lang.Object implements ActorHolder
| Constructor and Description |
|---|
AbstractActorHolder() |
| Modifier and Type | Method and Description |
|---|---|
abstract Actor |
getActor()
Returns the stream to the Actor from the link so
messages from other Actors can be delivered.
|
java.lang.String |
getAddress() |
Broker |
getBroker()
The stream to the link is used by the Actor to send messages to
all other Actors in the system.
|
Mailbox |
getMailbox()
The stream to the link is used by the Actor to send messages to
all other Actors in the system.
|
void |
setAddress(java.lang.String address) |
void |
setBroker(Broker broker)
The stream to the link is used by the Actor to send messages to
all other Actors in the system.
|
void |
setMailbox(Mailbox mailbox)
The stream to the link is used by the Actor to send messages to
all other Actors in the system.
|
java.lang.String |
toString() |
public abstract Actor getActor()
getActor in interface ActorHolderpublic java.lang.String getAddress()
getAddress in interface ActorHolderpublic void setAddress(java.lang.String address)
setAddress in interface ActorHolderpublic Broker getBroker()
getBroker in interface ActorHolderpublic void setBroker(Broker broker)
setBroker in interface ActorHolderpublic Mailbox getMailbox()
getMailbox in interface ActorHolderpublic void setMailbox(Mailbox mailbox)
setMailbox in interface ActorHolderpublic java.lang.String toString()
toString in class java.lang.Object