Packages

trait ServerNotifications extends EventStreamMarshalling with WebSocketDirectives

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ServerNotifications
  2. WebSocketDirectives
  3. EventStreamMarshalling
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. def createServerEvent(event: Any): ServerSentEvent
    Attributes
    protected
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. val eventSubscriberWatcherActor: ActorRef
    Attributes
    protected
  10. def extractOfferedWsProtocols: Directive1[Seq[String]]
    Definition Classes
    WebSocketDirectives
  11. def extractWebSocketUpgrade: Directive1[WebSocketUpgrade]
    Definition Classes
    WebSocketDirectives
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def getActualUserEvents(user: String): Iterable[Any]

    Return all actual user events client through web socket should be notified about.

    Return all actual user events client through web socket should be notified about. Is called when web socket connection is established. Must be overrided by subclasses.

  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def handleWebSocketMessages(handler: Flow[Message, Message, Any]): Route
    Definition Classes
    WebSocketDirectives
  16. def handleWebSocketMessagesForOptionalProtocol(handler: Flow[Message, Message, Any], subprotocol: Option[String]): Route
    Definition Classes
    WebSocketDirectives
  17. def handleWebSocketMessagesForProtocol(handler: Flow[Message, Message, Any], subprotocol: String): Route
    Definition Classes
    WebSocketDirectives
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def publishUserEvent(user: String, event: Any): Unit
  24. def publishUserEvents(user: String, events: Iterable[Any]): Unit
  25. val serverEventsSource: Source[Any, ActorRef]
    Attributes
    protected
  26. def serverSideEventAction(userIdString: String): Route
  27. def subscribeToUserEvents(actor: ActorRef, userIdString: String): Unit
    Attributes
    protected
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. implicit final val toEventStream: ToEntityMarshaller[Source[ServerSentEvent, Any]]
    Definition Classes
    EventStreamMarshalling
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  34. val wsNotificationGraph: Flow[Any, Strict, ActorRef]
    Attributes
    protected
  35. def wsNotificationsAction(userIdString: String): Route

    Consider

    Consider

    serverSideEventAction

    instead

    serverSideEventAction }}}

Deprecated Value Members

  1. def extractUpgradeToWebSocket: Directive1[UpgradeToWebSocket]
    Definition Classes
    WebSocketDirectives
    Annotations
    @deprecated
    Deprecated

    (Since version 10.2.0) use extractWebSocketUpgrade instead

Inherited from WebSocketDirectives

Inherited from EventStreamMarshalling

Inherited from AnyRef

Inherited from Any

Ungrouped