bokeh.client.states

Provide a set of objects to represent different stages of a connection to a Bokeh server.

class bokeh.client.states.CONNECTED_AFTER_ACK

The ClientConnection connected to a Bokeh server, and has received an ACK from it.

class bokeh.client.states.CONNECTED_BEFORE_ACK

The ClientConnection connected to a Bokeh server, but has not yet received an ACK from it.

class bokeh.client.states.DISCONNECTED

The ClientConnection was connected to a Bokeh server, but is now disconnected.

class bokeh.client.states.NOT_YET_CONNECTED

The ClientConnection is not yet connected.

class bokeh.client.states.WAITING_FOR_REPLY(reqid)

The ClientConnection has sent a message to the Bokeh Server which should generate a paired reply, and is waiting for the reply.

reply

The reply from the server. (None until the reply arrives)

reqid

The request ID of the originating message.