|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectse.ericsson.eto.norarc.javaframe.Mediator
The superclass of those objects that represent the concrete message interfaces
between ActiveObject
s
Field Summary | |
Addressable |
address
|
Constructor Summary | |
Mediator()
|
Method Summary | |
void |
addAddress(Addressable newAddress)
Sets the address of this Mediator to the given value. |
void |
forward(Message sig)
Forwards the specified signal to the Addressable object refered to by the address reference. |
Addressable |
getAddress()
Return the value of the address reference |
void |
input(Message sig)
Used at the edge of the system to input the specified signal. |
java.lang.String |
mediatorName()
Return the name of the actual Mediator class |
void |
removeAddress(Addressable med)
Removes the specified {link Mediator} |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public Addressable address
Constructor Detail |
public Mediator()
Method Detail |
public void addAddress(Addressable newAddress) throws java.lang.IllegalArgumentException
newAddress
- refers a StateMachine or another Mediator.
java.lang.IllegalArgumentException
public void removeAddress(Addressable med)
med
- The mediator to be removed from the mediatorList.public final Addressable getAddress()
public final java.lang.String mediatorName()
public void forward(Message sig)
forward
in interface Addressable
public final void input(Message sig) throws java.lang.IllegalArgumentException
sig
- is assumed to be not null.
If not, a IllegalArgumentException is thrown.
java.lang.IllegalArgumentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |