Package com.vaadin.client.communication
package com.vaadin.client.communication
-
ClassDescriptionThe default
PushConnectionimplementation that uses Atmosphere for handling the communication channel.JavaScriptObject class with some helper methods to set and get primitive values.Provides information from the Atmosphere configuration object.Provides data from an Atmosphere response JavaScript object.Represents a message splitted into multiple fragments of maximum lengthAtmospherePushConnection.FragmentedMessage.FRAGMENT_LENGTH.Represents the connection state of a push connection.Handles problems and other events which occur during communication with the server.Default implementation of the connection state handler.Handles sending of heartbeats to the server and reacting to the responseObserves the loading indicator configuration stored in the given node and configures the loading indicator accordingly.A MessageHandler is responsible for handling all incoming messages (JSON) from the server (state changes, RPCs and other updates) and ensuring that the connectors are updated accordingly.MessageSender is responsible for sending messages to the server.Observes the poll configuration stored in the given node and configures polling accordingly.Handles polling the server with a given interval.Provides the push configuration stored in the root node with an easier to use API.Represents the client-side endpoint of a bidirectional ("push") communication channel.Factory forPushConnection.Tracks the reconnect configuration stored in the root node and provides it with an easier to use API.Event fired when a reconnection attempt is requested.Handler forReconnectionAttemptEvents.Tracks active server UIDL requests.Event fired when a request starts.Handler forRequestStartingEvents.Event fired when handling of a response ends.Handler forResponseHandlingEndedEvents.Event fired when handling of a response starts.Handler forResponseHandlingStartedEvents.Handles creating and sending messages to the server usingServerRpcQueue.Manages the queue of server invocations (RPC) which are waiting to be sent to the server.Provides a connection to the UIDL request handler on the server and knows how to send messages to that end point.XhrConnectionError provides detail about an error which occurred during an XHR request to the server.