O'Reilly logo

Java WebSocket Programming by Danny Coward

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

image
CHAPTER
5
Advanced Messaging
In this chapter, you will look at some of the more specialized forms of message processing in the Java WebSocket API. In Chapter 3, we examined the simpler synchronous forms of sending messages and some of the options for receiving messages. In this chapter, you will take a look at the asynchronous forms of message sending, the use of buffers for incoming messages, the configurable timeouts for send operations, and batching techniques. We will use the example of the MessageModes application to illustrate these advanced options for message processing.
Checking Up on Your Connection: Pings and Pongs
We touched on the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required