JadeWebSocket Class

The JadeWebSocket class is the base class for handling a WebSocket connection.

Create your own JadeWebSocket subclasses to define the required WebSocket behavior for your application. From the perspective of a JADE developer, Web Socket processing:

  1. Starts with a call to your JadeWebSocket‑subclass.onOpen method

  2. Is followed by zero or more calls to your JadeWebSocket‑subclass.onMsg method

  3. Ends with a call to your JadeWebSocket‑subclass.onClose method

For details about the property and methods defined in the JadeWebSocket class, see "JadeWebSocket Property" and "JadeWebSocket Methods", in the following subsections.

Object

(None)