Package org.cometd.client.transport
Interface MessageClientTransport
public interface MessageClientTransport
Classes implementing MessageClientTransport indicate that the transport they provide
receives messages without the need of a previous request, like it happens in HTTP long poll.
Websocket or SPDY allow unsolicited messages to arrive to the client, and this must be
processed by a TransportListener that has not been passed during a request, but has
instead been provided at startup by setMessageTransportListener(TransportListener).
-
Method Summary
-
Method Details
-
setMessageTransportListener
- Parameters:
listener- the listener that handles unsolicited messages from the server
-