colossus.protocols.websocket

WebsocketController

class WebsocketController[E <: Encoding] extends ControllerDownstream[WebsocketEncoding] with ControllerUpstream[E] with DownstreamEventHandler[WebsocketControllerDownstream[E]] with UpstreamEventHandler[ControllerUpstream[WebsocketEncoding]]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. WebsocketController
  2. UpstreamEventHandler
  3. DownstreamEventHandler
  4. HasDownstream
  5. ControllerUpstream
  6. UpstreamEvents
  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 WebsocketController(downstream: WebsocketControllerDownstream[E], frameCodec: FrameCodec[E])

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. val controllerConfig: ControllerConfig

  14. val downstream: WebsocketControllerDownstream[E]

    Definition Classes
    WebsocketControllerHasDownstream
  15. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. val frameCodec: FrameCodec[E]

  19. final def getClass(): Class[_]

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

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

  22. val incoming: Sink[Frame] { ... /* 3 definitions in type refinement */ }

  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. def namespace: MetricNamespace

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

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

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

    Definition Classes
    AnyRef
  28. 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
  29. def onConnected(): Unit

    Attributes
    protected
    Definition Classes
    DownstreamEvents
  30. def onConnectionTerminated(reason: DisconnectCause): Unit

    Attributes
    protected
    Definition Classes
    DownstreamEvents
  31. def onFatalError(reason: Throwable): Option[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
  32. def onIdleCheck(period: FiniteDuration): Unit

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

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

    Attributes
    protected
    Definition Classes
    UpstreamEvents
  35. 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
  36. lazy val outgoing: Sink[E.Output]

  37. 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
  38. def send(message: E.Output): Unit

  39. def setUpstream(up: ControllerUpstream[WebsocketEncoding]): Unit

    Definition Classes
    HasUpstream
  40. def shutdown(): Unit

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

    Definition Classes
    AnyRef
  42. def toString(): String

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

  44. lazy val upstream: ControllerUpstream[WebsocketEncoding]

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ControllerUpstream[E]

Inherited from UpstreamEvents

Inherited from DownstreamEvents

Inherited from WorkerItemEvents

Inherited from AnyRef

Inherited from Any

Ungrouped