Abstract method to implement a handler for inbound messages
Abstract method to implement a handler for inbound messages
a io.backchat.hookup.HookupClient.Receive handler
alias for io.backchat.hookup.HookupServer.HookupServerClient.send
Alias for io.backchat.hookup.HookupServer.HookupServerClient.broadcast
The default broadcast filter broadcast operations use, it skips publishing to the sending channel
Broadcast this message to all connections matching the filter
Broadcast this message to all connections matching the filter
The io.backchat.hookup.OutboundMessage to broadcast
The filter to determine the connections to send to. Defaults to all but self.
A scala.concurrent.Future with the io.backchat.hookup.OperationResult
Disconnect from the socket, perform closing handshake if necessary
Disconnect from the socket, perform closing handshake if necessary
An scala.concurrent.Future of io.backchat.hookup.OperationResult
The connection id
Send a text message to this client
Send a text message to this client
the message to send
An scala.concurrent.Future of io.backchat.hookup.OperationResult
The interface library users use when implementing a websocket server to represent a client. For every new connection made to the server it will create one of these guys.
You can use it to maintain state for your client, but be aware that multiple threads maybe accessing the state at the same time so you should take care of thread safety.