jmschultz/JavaPusherClient — pull request #7 by marchy (2012-12-19 04:31:48+00:00)
Title: Adopted ping-pong protocol

Adopted the ping-pong protocol in version 5 of the Pusher protocol in order to keep connection alive for longer periods of time.

Also added the ability to use a string-based ID for persistence channels (previously only allowed integer IDs).

IMPLEMENTATION NOTE: The underlying WebSockets code/library does not support the WS ping-pong protocol so the higher level Pusher ping-pong messages are used instead ("pusher:ping" and "pusher:pong").