|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IChannelListener
Implementations of this interface can be notified of events
triggered by a IChannelPublisher
Implementation example:
channelService.addChannelListener(this, "channel", new IChannelListener() {
public void onEvent(String channel, Map datas, IChannelTarget target){
target.addComponent(aComponent);
}
});
IChannelService| Method Summary | |
|---|---|
void |
onEvent(java.lang.String channel,
java.util.Map<java.lang.String,java.lang.String> datas,
IChannelTarget target)
Method called when an event is triggered on a channel. |
| Method Detail |
|---|
void onEvent(java.lang.String channel,
java.util.Map<java.lang.String,java.lang.String> datas,
IChannelTarget target)
IChannelTarget
to update the web page according to the event triggered.
channel - channel which be used to listen to eventdatas - data sent by the eventtarget - see IChannelTarget
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||