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 ofPublisherListener
that 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 void
exceptionRaised(PublisherExceptionEvent event)
Event when an exception occurs during the publish.void
statusEvent(PublisherStatusEvent event)
Handles thePublisherStatusEvent
that are on thePublisherListener
-
-
-
Method Detail
-
statusEvent
public void statusEvent(PublisherStatusEvent event)
Handles thePublisherStatusEvent
that are on thePublisherListener
- Specified by:
statusEvent
in interfacePublisherListener
- Parameters:
event
- thePublisherStatusEvent
for latest status of the publisher.
-
exceptionRaised
public void exceptionRaised(PublisherExceptionEvent event)
Event when an exception occurs during the publish.- Specified by:
exceptionRaised
in interfacePublisherListener
- Parameters:
event
- thePublisherExceptionEvent
representing the state of exception.
-
-