Package nl.harm27.obswebsocket.listener
Class StreamingEventListener
- java.lang.Object
-
- nl.harm27.obswebsocket.listener.StreamingEventListener
-
- All Implemented Interfaces:
EventListener
public abstract class StreamingEventListener extends Object implements EventListener
The EventListener for the events that are part of the Streaming category.
-
-
Constructor Summary
Constructors Constructor Description StreamingEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
callEvent(BaseEvent baseEvent)
Map<EventType,Class<?>>
getSupportedEvents()
void
streamStarted(StreamStarted streamStarted)
Implement this method to process StreamStarted events.void
streamStarting(StreamStarting streamStarting)
Implement this method to process StreamStarting events.void
streamStatus(StreamStatus streamStatus)
Implement this method to process StreamStatus events.void
streamStopped(StreamStopped streamStopped)
Implement this method to process StreamStopped events.void
streamStopping(StreamStopping streamStopping)
Implement this method to process StreamStopping events.
-
-
-
Method Detail
-
getSupportedEvents
public final Map<EventType,Class<?>> getSupportedEvents()
- Specified by:
getSupportedEvents
in interfaceEventListener
-
callEvent
public final void callEvent(BaseEvent baseEvent)
- Specified by:
callEvent
in interfaceEventListener
-
streamStarting
public void streamStarting(StreamStarting streamStarting)
Implement this method to process StreamStarting events.- Parameters:
streamStarting
- The received event.
-
streamStarted
public void streamStarted(StreamStarted streamStarted)
Implement this method to process StreamStarted events.- Parameters:
streamStarted
- The received event.
-
streamStopping
public void streamStopping(StreamStopping streamStopping)
Implement this method to process StreamStopping events.- Parameters:
streamStopping
- The received event.
-
streamStopped
public void streamStopped(StreamStopped streamStopped)
Implement this method to process StreamStopped events.- Parameters:
streamStopped
- The received event.
-
streamStatus
public void streamStatus(StreamStatus streamStatus)
Implement this method to process StreamStatus events.- Parameters:
streamStatus
- The received event.
-
-