Jump to: navigation, search

cometd Section

maxInterval

Description: The maximum number of seconds that the server will wait for a new long poll from a client before that client is considered invalid and is removed. Corresponds to the standard CometD maxInterval option: http://cometd.org/documentation/cometd-java/server/configuration.
Default Value: 15
Valid Values: positive integer
Mandatory: No
Changes Take Effect: After server restart

timeout

Description: The maximum number of seconds that the server will wait for a message before responding to a long poll with an empty response. Corresponds to the standard CometD timeout option: http://cometd.org/documentation/cometd-java/server/configuration.
Default Value: 30
Valid Values: positive integer
Mandatory: No
Changes Take Effect: After server restart

interval

Description: The maximum number of seconds that the client must wait between the end of one long poll request and the start of the next. Corresponds to standard CometD interval option: http://cometd.org/documentation/cometd-java/server/configuration.
Default Value: 0
Valid Values: positive integer
Mandatory: No
Changes Take Effect: After server restart

transports

Description: Comma-separated list of allowed CometD transports. By default, all transports are supported. This option is useful if, for example, you need to to turn off the websocket transport on the server side.
Default Value: org.cometd.websocket.server.JettyWebSocketTransport, org.cometd.server.transport.JSONTransport, org.cometd.server.transport.JSONPTransport
Valid Values: comma-separated names of classes which implement CometD transport
Mandatory: No
Changes Take Effect: After server restart

maxSessionsPerBrowser

Description: Maximum count of CometD connections opened per browser connection.
Default Value: 1
Valid Values:
Mandatory: No
Changes Take Effect: After server restart

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on 30 October 2015, at 11:02.