Interface IPushableConsumer

All Superinterfaces:
IConsumer, IMessageComponent
All Known Implementing Classes:
ClientBroadcastStream, ConnectionConsumer, FileConsumer, PlayEngine, ServerStream

public interface IPushableConsumer extends IConsumer
A consumer that supports event-driven message handling and message pushing through pipes.
Author:
The Red5 Project, Steven Gong (steven.gong@gmail.com)
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    pushMessage(IPipe pipe, IMessage message)
    Pushes message through pipe

    Methods inherited from interface org.red5.server.messaging.IMessageComponent

    onOOBControlMessage
  • Field Details

    • KEY

      static final String KEY
  • Method Details

    • pushMessage

      void pushMessage(IPipe pipe, IMessage message) throws IOException
      Pushes message through pipe
      Parameters:
      pipe - Pipe
      message - Message
      Throws:
      IOException - if message could not be written