Class

io.backchat.hookup.examples.PubSubClient

PubSubClient

Related Doc: package PubSubClient

Permalink

class PubSubClient extends HookupClient

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PubSubClient
  2. HookupClient
  3. Closeable
  4. AutoCloseable
  5. Reconnectable
  6. Connectable
  7. HookupClientLike
  8. BroadcastChannelLike
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PubSubClient(name: String)

    Permalink

Value Members

  1. final def !(message: OutboundMessage): Future[OperationResult]

    Permalink

    Send a message to the server.

    Send a message to the server.

    message

    The io.backchat.hookup.OutboundMessage to send

    returns

    A scala.concurrent.Future with the io.backchat.hookup.OperationResult

    Definition Classes
    HookupClient
  2. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def buffered: Boolean

    Permalink

    A flag indicating whether this websocket client can fallback to buffering.

    A flag indicating whether this websocket client can fallback to buffering.

    returns

    whether this websocket client can fallback to buffering or not.

    Definition Classes
    HookupClient
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def close(): Unit

    Permalink
    Definition Classes
    HookupClient → Closeable → AutoCloseable
  9. final def connect(protocols: String*): Future[OperationResult]

    Permalink

    Connect to the server.

    Connect to the server.

    returns

    A scala.concurrent.Future with the io.backchat.hookup.OperationResult

    Definition Classes
    HookupClientConnectable
  10. final def disconnect(): Future[OperationResult]

    Permalink

    Disconnect from the server.

    Disconnect from the server.

    returns

    A scala.concurrent.Future with the io.backchat.hookup.OperationResult

    Definition Classes
    HookupClientBroadcastChannelLike
  11. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. implicit lazy val executionContext: ExecutionContext

    Permalink

    The execution context for futures within this client.

    The execution context for futures within this client.

    returns

    The scala.concurrent.ExecutionContext

    Attributes
    protected
    Definition Classes
    HookupClient
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. def isConnected: Boolean

    Permalink

    A flag indicating connection status.

    A flag indicating connection status.

    returns

    a boolean indicating connection status

    Definition Classes
    HookupClientConnectable
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. val messageCounter: AtomicInteger

    Permalink
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def receive: PartialFunction[InboundMessage, Unit]

    Permalink

    Handle inbound io.backchat.hookup.InboundMessage instances

    Handle inbound io.backchat.hookup.InboundMessage instances

    returns

    a io.backchat.hookup.HookupClient.Receive as message handler

    Definition Classes
    PubSubClientHookupClientLike
  24. def reconnect(): Future[OperationResult]

    Permalink

    Reconnect to the server.

    Reconnect to the server.

    returns

    A scala.concurrent.Future with the io.backchat.hookup.OperationResult

    Definition Classes
    HookupClientReconnectable
  25. final def send(message: String): Future[OperationResult]

    Permalink
    Definition Classes
    HookupClient
  26. final def send(message: OutboundMessage): Future[OperationResult]

    Permalink

    Send a message to the server.

    Send a message to the server.

    message

    The io.backchat.hookup.OutboundMessage to send

    returns

    A scala.concurrent.Future with the io.backchat.hookup.OperationResult

    Definition Classes
    HookupClientBroadcastChannelLike
  27. val settings: HookupClientConfig

    Permalink

    The configuration of this client.

    The configuration of this client.

    returns

    The io.backchat.hookup.HookupClientConfig as configuration object

    Definition Classes
    PubSubClientHookupClient
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. val uri: URI

    Permalink
  31. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from HookupClient

Inherited from Closeable

Inherited from AutoCloseable

Inherited from Reconnectable

Inherited from Connectable

Inherited from HookupClientLike

Inherited from BroadcastChannelLike

Inherited from AnyRef

Inherited from Any

Ungrouped