Provides a handle for a single Atmosphere connection.
Provides a handle for a single Atmosphere connection.
Each browser or other device which connects to an atmosphere
route is
assigned its own AtmosphereClient, with a uuid. This is a good bet for
subclassing if you need to implement your own message distribution logic.
Subclasses may define their own ClientFilter logic in addition to the
stock ClientFilters already defined, in order to segment message delivery.
Useful filters to limit who receives broadcasts.
A message representing an array of bytes sent to/received from a remote party.
A message representing an array of bytes sent to/received from a remote party.
An Array of Bytes representing the content of the message
A callback event signaling that the connection has ended, if the cause was an exception thrown then the cause object will be filled in.
A callback event signaling that the connection has ended, if the cause was an exception thrown then the cause object will be filled in.
A scala.Option of java.lang.Throwable
A callback event signaling that an error has occurred.
A callback event signaling that an error has occurred. if the error was an exception thrown then the cause object will be filled in.
A scala.Option of java.lang.Throwable
A marker trait for inbound messages
A message representing a json object sent to/received from a remote party.
A message representing a json object sent to/received from a remote party.
A org.json4s.JValue object
A marker trait for outbound messages
A base trait for creating messages of different content types
A base trait for creating messages of different content types
The type of content this protocol message represents
A protocol format that is just plain and simple json.
A protocol format that is just plain and simple json. This protocol doesn't support acking. It looks at the first character in the message and if it thinks it's JSON it will try to parse it as JSON otherwise it creates a text message
A message representing a text object sent to/received from a remote party.
A message representing a text object sent to/received from a remote party.
A scala.Predef.String representing the content of the message
The interface trait for a wire format.
The interface trait for a wire format. Creating a new wire format means implementing these 3 methods.
A callback event signaling that the connection has been fully established.
A callback event signaling that the connection has been fully established. This means that any handshakes have been completed successfully too.
When you receive this callback message you can be sure there is someone on the other end.
A callback event signaling a heartbeat
A callback event signaling a heartbeat
When you receive this heartbeat message you can be sure there is someone on the other end.