Packages

final class ActorMqttServerSession extends MqttServerSession

Provides an actor implementation of a server session

Source
MqttSession.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ActorMqttServerSession
  2. MqttServerSession
  3. MqttSession
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ActorMqttServerSession(settings: MqttSessionSettings)(implicit systemProvider: ClassicActorSystemProvider)

    settings

    session settings

Value Members

  1. def ![A](cp: Command[A]): Unit

    Tell the session to perform a command regardless of the state it is in.

    Tell the session to perform a command regardless of the state it is in. This is important for sending Publish messages in particular, as a connection may not have been established with a session.

    A

    The type of any carry for the command.

    cp

    The command to perform

    Definition Classes
    ActorMqttServerSessionMqttSession
  2. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  3. final def ##: Int
    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def commandFlow[A](connectionId: ByteString): CommandFlow[A]

    returns

    a flow for commands to be sent to the session in relation to a connection id

    Definition Classes
    ActorMqttServerSessionMqttServerSession
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def eventFlow[A](connectionId: ByteString): EventFlow[A]

    returns

    a flow for events to be emitted by the session in relation t a connection id

    Definition Classes
    ActorMqttServerSessionMqttServerSession
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def shutdown(): Unit

    Shutdown the session gracefully

    Shutdown the session gracefully

    Definition Classes
    ActorMqttServerSessionMqttSession
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. final def tell[A](cp: Command[A]): Unit

    Tell the session to perform a command regardless of the state it is in.

    Tell the session to perform a command regardless of the state it is in. This is important for sending Publish messages in particular, as a connection may not have been established with a session.

    A

    The type of any carry for the command.

    cp

    The command to perform

    Definition Classes
    MqttSession
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  25. def watchClientSessions: Source[ClientSessionTerminated, NotUsed]

    Used to observe client connections being terminated

    Used to observe client connections being terminated

    Definition Classes
    ActorMqttServerSessionMqttServerSession

Inherited from MqttServerSession

Inherited from MqttSession

Inherited from AnyRef

Inherited from Any

Ungrouped