Packages

final class ActorMqttServerSession extends MqttServerSession

Provides an actor implementation of a server session

Source
MqttSession.scala
Linear Supertypes
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. All

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( ... ) @native() @HotSpotIntrinsicCandidate()
  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: Any): 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. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def shutdown(): Unit

    Shutdown the session gracefully

    Shutdown the session gracefully

    Definition Classes
    ActorMqttServerSessionMqttSession
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. 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
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. def watchClientSessions: Source[ClientSessionTerminated, NotUsed]

    Used to observe client connections being terminated

    Used to observe client connections being terminated

    Definition Classes
    ActorMqttServerSessionMqttServerSession

Deprecated Value Members

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

    (Since version ) see corresponding Javadoc for more information.

Inherited from MqttServerSession

Inherited from MqttSession

Inherited from AnyRef

Inherited from Any

Ungrouped