com.eliasbalasis.tibcopagebus4gwt.client
Interface PageBusListener

All Superinterfaces:
java.util.EventListener

public interface PageBusListener
extends java.util.EventListener

Implement this interface to implement custom logic for handling published messages.


Method Summary
 java.lang.String getName()
          An custom name for this listener used to distinguish it from other active listeners of the same type
 void onPageBusSubscriptionCallback(PageBusEvent event)
          This method is called whenever a message is published.
 

Method Detail

onPageBusSubscriptionCallback

void onPageBusSubscriptionCallback(PageBusEvent event)
This method is called whenever a message is published. Is is implied that a related subscription has occurred earlier using PageBusAdapter.PageBusSubscribe(java.lang.String, java.lang.Object, org.juglar.gwt.jsonizer.client.Jsonizer, java.lang.Object, org.juglar.gwt.jsonizer.client.Jsonizer)

Parameters:
event - The event representation supporting methods for extracting the message data

getName

java.lang.String getName()
An custom name for this listener used to distinguish it from other active listeners of the same type

Returns:
The name of this listener