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 ActorHolder
public java.lang.String getAddress()
getAddress
in interface ActorHolder
public void setAddress(java.lang.String address)
setAddress
in interface ActorHolder
public Broker getBroker()
getBroker
in interface ActorHolder
public void setBroker(Broker broker)
setBroker
in interface ActorHolder
public Mailbox getMailbox()
getMailbox
in interface ActorHolder
public void setMailbox(Mailbox mailbox)
setMailbox
in interface ActorHolder
public java.lang.String toString()
toString
in class java.lang.Object