colossus.streaming

StreamTranscodingController

class StreamTranscodingController[U <: Encoding, D <: Encoding] extends ControllerDownstream[U] with DownstreamEventHandler[ControllerDownstream[D]] with ControllerUpstream[D] with UpstreamEventHandler[ControllerUpstream[U]]

This controller interface can be used to transcode from one encoding to another in a connection handler pipeline

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StreamTranscodingController
  2. UpstreamEventHandler
  3. ControllerUpstream
  4. UpstreamEvents
  5. DownstreamEventHandler
  6. HasDownstream
  7. ControllerDownstream
  8. DownstreamEvents
  9. WorkerItemEvents
  10. HasUpstream
  11. AnyRef
  12. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StreamTranscodingController(downstream: ControllerDownstream[D], transcoder: Transcoder[U, D])

Type Members

  1. type DI = D.Input

  2. type DO = D.Output

  3. type UI = U.Input

  4. type UO = U.Output

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def bind(): Unit

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def connected(): Unit

  10. def connection: ConnectionManager

  11. def connectionTerminated(reason: DisconnectCause): Unit

  12. def context: Context

  13. def controllerConfig: ControllerConfig

  14. val downstream: ControllerDownstream[D]

  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  17. def fatal(state: NonOpenTransportState): Unit

    Attributes
    protected
  18. def fatalError(err: Throwable): Unit

    Attributes
    protected
  19. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  22. def idleCheck(period: FiniteDuration): Unit

  23. val incoming: PipeCircuitBreaker[UI, DI]

  24. def inputStream: Pipe[UI, DI]

  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. def namespace: MetricNamespace

  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. def onBind(): Unit

    Called when the item is bound to a worker.

    Called when the item is bound to a worker.

    Attributes
    protected
    Definition Classes
    WorkerItemEvents
  31. def onConnected(): Unit

  32. def onConnectionTerminated(reason: DisconnectCause): Unit

  33. def onFatalError(reason: Throwable): Option[U.Output]

    This method can be overriden to send a message in the event of a fatal error before the connection is closed.

    This method can be overriden to send a message in the event of a fatal error before the connection is closed. There is no guarantee though that the message is actually sent since the connection may have already closed.

    Definition Classes
    ControllerDownstream
  34. def onIdleCheck(period: FiniteDuration): Unit

    Attributes
    protected
    Definition Classes
    DownstreamEvents
  35. def onReceivedMessage(sender: ActorRef, message: Any): Unit

    Attributes
    protected
    Definition Classes
    DownstreamEvents
  36. def onShutdown(): Unit

    Attributes
    protected
    Definition Classes
    UpstreamEvents
  37. def onUnbind(): Unit

    Called when the item has been unbound from a worker

    Called when the item has been unbound from a worker

    Attributes
    protected
    Definition Classes
    WorkerItemEvents
  38. val outgoing: PipeCircuitBreaker[DO, UO]

  39. def outputStream: Pipe[DO, UO]

  40. def receivedMessage(message: Any, sender: ActorRef): Unit

    Provides a way to send this WorkerItem a message from an Actor by way of WorkerCommand.

    Provides a way to send this WorkerItem a message from an Actor by way of WorkerCommand.Message.

    message

    The message that was sent

    sender

    The sender who sent the message

    Definition Classes
    DownstreamEventHandlerDownstreamEventsWorkerItemEvents
  41. def setUpstream(up: ControllerUpstream[U]): Unit

    Definition Classes
    HasUpstream
  42. def shutdown(): Unit

    Definition Classes
    UpstreamEventHandlerUpstreamEvents
  43. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  44. def toString(): String

    Definition Classes
    AnyRef → Any
  45. def unbind(): Unit

  46. lazy val upstream: ControllerUpstream[U]

    Definition Classes
    HasUpstream
  47. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ControllerUpstream[D]

Inherited from UpstreamEvents

Inherited from HasDownstream[ControllerDownstream[D]]

Inherited from ControllerDownstream[U]

Inherited from DownstreamEvents

Inherited from WorkerItemEvents

Inherited from HasUpstream[ControllerUpstream[U]]

Inherited from AnyRef

Inherited from Any

Ungrouped