Jump to: navigation, search

cometd Section



  


interval

Default Value: 0
Valid Values: positive integer
Changes Take Effect: After server restart


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.

maxInterval

Default Value: 15
Valid Values: positive integer
Changes Take Effect: After server restart


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.

maxSessionsPerBrowser

Default Value: 1
Valid Values:
Changes Take Effect: After server restart


Maximum count of CometD connections opened per browser connection.

timeout

Default Value: 30
Valid Values: positive integer
Changes Take Effect: After server restart


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.

transports

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
Changes Take Effect: After server restart


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.

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on March 21, 2018, at 14:06.