bokeh.client.states

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

class CONNECTED_AFTER_ACK[source]

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

class CONNECTED_BEFORE_ACK[source]

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

class DISCONNECTED[source]

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

class NOT_YET_CONNECTED[source]

The ClientConnection is not yet connected.

class WAITING_FOR_REPLY(reqid)[source]

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.