Package com.streambase.liveview.client
Class AbstractPublisherListener
java.lang.Object
com.streambase.liveview.client.AbstractPublisherListener
- All Implemented Interfaces:
PublisherListener
,EventListener
A convenience implementation of
PublisherListener
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Event when an exception occurs during the publish.void
statusEvent
(PublisherStatusEvent event) Handles thePublisherStatusEvent
that are on thePublisherListener
-
Constructor Details
-
AbstractPublisherListener
public AbstractPublisherListener()
-
-
Method Details
-
statusEvent
Handles thePublisherStatusEvent
that are on thePublisherListener
- Specified by:
statusEvent
in interfacePublisherListener
- Parameters:
event
- thePublisherStatusEvent
for latest status of the publisher.
-
exceptionRaised
Event when an exception occurs during the publish.- Specified by:
exceptionRaised
in interfacePublisherListener
- Parameters:
event
- thePublisherExceptionEvent
representing the state of exception.
-