The settings to use when creating this websocket.
Send a message to the server.
Send a message to the server.
The io.backchat.hookup.OutboundMessage to send
A scala.concurrent.Future with the io.backchat.hookup.OperationResult
Add a listener for websocket events, if you want to remove the listener at a later time you need to keep the instance around.
Add a listener for websocket events, if you want to remove the listener at a later time you need to keep the instance around.
The io.backchat.hookup.WebSocketListener to add
this to allow for chaining
A flag indicating whether this websocket client can fallback to buffering.
A flag indicating whether this websocket client can fallback to buffering.
whether this websocket client can fallback to buffering or not.
Connect to the server.
Connect to the server.
A scala.concurrent.Future with the io.backchat.hookup.OperationResult
Disconnect from the server.
Disconnect from the server.
A scala.concurrent.Future with the io.backchat.hookup.OperationResult
The execution context for futures within this client.
The execution context for futures within this client.
The scala.concurrent.ExecutionContext
A flag indicating connection status.
A flag indicating connection status.
a boolean indicating connection status
The callback method for when the client is connected
The callback method for when the client is connected
The client that connected.
The callback method for when the client is disconnected
The callback method for when the client is disconnected
The client that disconnected.
The callback method for when an error has occured
The callback method for when an error has occured
The client that received the message
The message it received the throwable if any, otherwise null
The callback method for when a json message has failed to be acknowledged.
The callback method for when a json message has failed to be acknowledged.
The client that received the message
The message it received
The callback method for when a json message has been received.
The callback method for when a json message has been received.
The client that received the message
The message it received
The callback method for when the client is reconnecting
The callback method for when the client is reconnecting
The client that is reconnecting.
The callback method for when a text message has failed to be acknowledged.
The callback method for when a text message has failed to be acknowledged.
The client that received the message
The message it received
The callback method for when a text message has been received.
The callback method for when a text message has been received.
The client that received the message
The message it received
The implementation of the receive handler for java clients.
The implementation of the receive handler for java clients. it notfies the listeners by iterating over all of them and calling the designated method.
The io.backchat.hookup.HookupClient.Receive message handler
Reconnect to the server.
Reconnect to the server.
A scala.concurrent.Future with the io.backchat.hookup.OperationResult
Remove a listener for websocket events
Remove a listener for websocket events
The io.backchat.hookup.WebSocketListener to add
this to allow for chaining
Send a json message.
Send a json message. json
The message to send.
A scala.concurrent.Future with the io.backchat.hookup.OperationResult
Send a message to the server.
Send a message to the server.
The io.backchat.hookup.OutboundMessage to send
A scala.concurrent.Future with the io.backchat.hookup.OperationResult
Send a json message which expects an Ack.
Send a json message which expects an Ack. If the message isn't a json string it will throw a org.json4s.ParserUtil.ParseException
The message to send.
the scala.concurrent.duration.Duration as timeout for the ack operation
A scala.concurrent.Future with the io.backchat.hookup.OperationResult
Send a text message which expects an Ack.
Send a text message which expects an Ack. If the message is a json string it will still be turned into a json message
The message to send.
the scala.concurrent.duration.Duration as timeout for the ack operation
A scala.concurrent.Future with the io.backchat.hookup.OperationResult
Send a json message.
Send a json message. If the message isn't a json string it will throw a org.json4s.ParserUtil.ParseException
The message to send.
A scala.concurrent.Future with the io.backchat.hookup.OperationResult
Send a text message which expects an Ack.
Send a text message which expects an Ack. If the message is a json string it will still be turned into a json message
The message to send.
the scala.concurrent.duration.Duration as timeout for the ack operation
A scala.concurrent.Future with the io.backchat.hookup.OperationResult
A java friendly websocket
io.backchat.hookup.JavaHelpers
io.backchat.hookup.HookupClient