Class StreamActionEvent

java.lang.Object
org.red5.server.net.rtmp.event.StreamActionEvent
All Implemented Interfaces:
IEvent

public class StreamActionEvent extends Object implements IEvent
Represents a stream action occurring on a connection or stream. This event is used to notify an IEventHandler; it is not meant to be sent over the wire to clients.
Author:
Paul Gregoire (mondain@gmail.com)
  • Field Details

  • Constructor Details

    • StreamActionEvent

      public StreamActionEvent(StreamAction action)
  • Method Details

    • getType

      public IEvent.Type getType()
      Description copied from interface: IEvent
      Returns even type
      Specified by:
      getType in interface IEvent
      Returns:
      Event type enumeration
    • getObject

      public Object getObject()
      Description copied from interface: IEvent
      Returns event context object
      Specified by:
      getObject in interface IEvent
      Returns:
      Event context object
    • hasSource

      public boolean hasSource()
      Description copied from interface: IEvent
      Whether event has source (event listener(s))
      Specified by:
      hasSource in interface IEvent
      Returns:
       true
       
      if so,
       false
       
      otherwise
    • getSource

      public IEventListener getSource()
      Description copied from interface: IEvent
      Returns event listener
      Specified by:
      getSource in interface IEvent
      Returns:
      Event listener object
    • toString

      public String toString()
      Overrides:
      toString in class Object