io.backchat.hookup.examples.PubSubClient

PubSubClient

class PubSubClient extends HookupClient

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

Instance Constructors

  1. new PubSubClient(name: String)

Value Members

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

    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: AnyRef): Boolean

    Definition Classes
    AnyRef
  3. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  4. final def ##(): Int

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

    Definition Classes
    AnyRef
  6. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def buffered: Boolean

    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
  9. def clone(): AnyRef

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

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

    Connect to the server.

    Connect to the server.

    returns

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

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

    Disconnect from the server.

    Disconnect from the server.

    returns

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

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

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

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

    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
  16. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  19. def isConnected: Boolean

    A flag indicating connection status.

    A flag indicating connection status.

    returns

    a boolean indicating connection status

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

    Definition Classes
    Any
  21. val messageCounter: AtomicInteger

  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

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

    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
  26. def reconnect(): Future[OperationResult]

    Reconnect to the server.

    Reconnect to the server.

    returns

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

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

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

    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
  29. val settings: HookupClientConfig

    The configuration of this client.

    The configuration of this client.

    returns

    The io.backchat.hookup.HookupClientConfig as configuration object

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

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    AnyRef → Any
  32. val uri: URI

  33. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from HookupClient

Inherited from Closeable

Inherited from Reconnectable

Inherited from Connectable

Inherited from HookupClientLike

Inherited from BroadcastChannelLike

Inherited from AnyRef

Inherited from Any

Ungrouped