Class/Object

colossus.controller

Controller

Related Docs: object Controller | package controller

Permalink

class Controller[E <: Encoding] extends ControllerUpstream[E] with StaticInputController[E] with StaticOutputController[E] with CoreDownstream

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Controller
  2. CoreDownstream
  3. StaticOutputController
  4. StaticInputController
  5. BaseController
  6. DownstreamEventHandler
  7. HasDownstream
  8. DownstreamEvents
  9. WorkerItemEvents
  10. UpstreamEventHandler
  11. HasUpstream
  12. ControllerUpstream
  13. UpstreamEvents
  14. AnyRef
  15. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Controller(downstream: ControllerDownstream[E], codec: Codec[E])

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def bind(): Unit

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val codec: Codec[E]

    Permalink
    Definition Classes
    ControllerBaseController
  8. def connected(): Unit

    Permalink
  9. def connection: CoreUpstream

    Permalink
    Definition Classes
    ControllerControllerUpstream
  10. def connectionClosed(cause: DisconnectCause): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    StaticOutputController
  11. def connectionLost(cause: DisconnectError): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    StaticOutputController
  12. def connectionTerminated(reason: DisconnectCause): Unit

    Permalink
  13. def context: Context

    Permalink
  14. def controllerConfig: ControllerConfig

    Permalink
    Definition Classes
    ControllerBaseController
  15. val downstream: ControllerDownstream[E]

    Permalink
    Definition Classes
    ControllerHasDownstream
  16. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. def fatalError(reason: Throwable, forceKill: Boolean): Unit

    Permalink

    Terminate the connection with an error.

    Terminate the connection with an error. If forceKill is true, the connection will be immediately force-disconnected and treated as an error, otherwise the downstream handler will have a chance to push a final message and control through the returned FatalErrorAction how to close the connection.

    (generally forceKill should be true when we know it's impossible to send a message, such as when an error occurs in OutputController)

    Definition Classes
    ControllerBaseController
  19. def finalize(): Unit

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

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

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

    Permalink
  23. val incoming: Sink[E.Input]

    Permalink
    Definition Classes
    ControllerBaseController
  24. lazy val inputSizeHistogram: Option[Histogram]

    Permalink
    Definition Classes
    StaticInputController
  25. lazy val inputSizeTracker: ParserSizeTracker

    Permalink
    Definition Classes
    StaticInputController
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. implicit val namespace: MetricNamespace

    Permalink
    Definition Classes
    ControllerBaseController
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. def onBind(): Unit

    Permalink

    Called when the item is bound to a worker.

    Called when the item is bound to a worker.

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

    Permalink
  33. def onConnectionTerminated(cause: DisconnectCause): Unit

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

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

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

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

    Permalink

    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[E.Output, E.Output]

    Permalink
    Definition Classes
    StaticOutputController
  39. def pauseReads(): Unit

    Permalink
    Definition Classes
    StaticInputController
  40. def readsEnabled: Boolean

    Permalink
    Definition Classes
    StaticInputController
  41. def readyForData(buffer: DataOutBuffer): Product with Serializable with MoreDataResult

    Permalink
    Definition Classes
    StaticOutputController
  42. def receivedData(data: DataBuffer): Unit

    Permalink
    Definition Classes
    StaticInputController
  43. def receivedMessage(message: Any, sender: ActorRef): Unit

    Permalink

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

    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
  44. def resumeReads(): Unit

    Permalink
    Definition Classes
    StaticInputController
  45. def setUpstream(up: CoreUpstream): Unit

    Permalink
    Definition Classes
    HasUpstream
  46. def shutdown(): Unit

    Permalink
  47. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  48. def toString(): String

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

    Permalink
  50. lazy val upstream: CoreUpstream

    Permalink
    Definition Classes
    HasUpstream
  51. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. def writesEnabled: Boolean

    Permalink
    Definition Classes
    StaticOutputController

Inherited from CoreDownstream

Inherited from StaticOutputController[E]

Inherited from StaticInputController[E]

Inherited from BaseController[E]

Inherited from HasDownstream[ControllerDownstream[E]]

Inherited from DownstreamEvents

Inherited from WorkerItemEvents

Inherited from HasUpstream[CoreUpstream]

Inherited from ControllerUpstream[E]

Inherited from UpstreamEvents

Inherited from AnyRef

Inherited from Any

Ungrouped