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 WebSocketListener to add
this to allow for chaining
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 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 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
Remove a listener for websocket events
Remove a listener for websocket events
The WebSocketListener to add
this to allow for chaining
Send a json message.
Send a json message.
A akka.dispatch.Future with the OperationResult
Send a text message.
Send a text message. If the message is a json string it will still be turned into a json message
The message to send.
A akka.dispatch.Future with the 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 net.liftweb.json.JsonParser.ParseException
The message to send.
the akka.util.Duration as timeout for the ack operation
A akka.dispatch.Future with the 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 akka.util.Duration as timeout for the ack operation
A akka.dispatch.Future with the OperationResult
Send a json message.
Send a json message. If the message isn't a json string it will throw a net.liftweb.json.JsonParser.ParseException
A akka.dispatch.Future with the 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 akka.util.Duration as timeout for the ack operation
A akka.dispatch.Future with the OperationResult
A mixin for a HookupClient with helper methods for the java api. When mixed into a websocket it is a full implementation that notifies the registered WebSocketListener instances when events occur.