Package com.streambase.liveview.client
Class AbstractPublisherListener
- java.lang.Object
-
- com.streambase.liveview.client.AbstractPublisherListener
-
- All Implemented Interfaces:
PublisherListener,EventListener
public class AbstractPublisherListener extends Object implements PublisherListener
A convenience implementation ofPublisherListenerthat can be extended and the specified methods can be overridden. Unless you override the methods below the callback events associated with them are essentially dropped.
-
-
Constructor Summary
Constructors Constructor Description AbstractPublisherListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexceptionRaised(PublisherExceptionEvent event)Event when an exception occurs during the publish.voidstatusEvent(PublisherStatusEvent event)Handles thePublisherStatusEventthat are on thePublisherListener
-
-
-
Method Detail
-
statusEvent
public void statusEvent(PublisherStatusEvent event)
Handles thePublisherStatusEventthat are on thePublisherListener- Specified by:
statusEventin interfacePublisherListener- Parameters:
event- thePublisherStatusEventfor latest status of the publisher.
-
exceptionRaised
public void exceptionRaised(PublisherExceptionEvent event)
Event when an exception occurs during the publish.- Specified by:
exceptionRaisedin interfacePublisherListener- Parameters:
event- thePublisherExceptionEventrepresenting the state of exception.
-
-