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() @HotSpotIntrinsicCandidate()
  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 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.

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

    Consider serverSideEventAction instead

Deprecated Value Members

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

    (Since version 10.2.0) use extractWebSocketUpgrade instead

  2. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from WebSocketDirectives

Inherited from EventStreamMarshalling

Inherited from AnyRef

Inherited from Any

Ungrouped