T - - The type of object / event / signal being sent.public class ReceivesMultiValue<T> extends Object implements ReceivesValue<T>
ReceivesPrioritizedValue instead.ReceivesValue.NoOp<T>| Constructor and Description |
|---|
ReceivesMultiValue() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addReceiver(ReceivesValue<T> receiver)
Adds a receiver to the end of the callback array.
|
void |
clearReceivers()
Clear our array of callbacks
|
void |
removeReceiver(ReceivesValue<T> receiver) |
void |
set(T value)
set() can be used either as an asynchronous method callback,
or as an actual setter for a
Bean value. |
public void set(T value)
ReceivesValueBean value.set in interface ReceivesValue<T>value - - The object to receive.public boolean addReceiver(ReceivesValue<T> receiver)
receiver - - A new receiver to addpublic void clearReceivers()
public void removeReceiver(ReceivesValue<T> receiver)
receiver - - The receiver to remove.Copyright © 2012-2013 The Internet Party. All Rights Reserved.