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(reason: bokeh.client.states.ErrorReason = ErrorReason.NO_ERROR, error_code: Optional[int] = None, error_detail: str = '')[source]¶
The
ClientConnection
was connected to a Bokeh server, but is now disconnected.- __init__(reason: bokeh.client.states.ErrorReason = ErrorReason.NO_ERROR, error_code: Optional[int] = None, error_detail: str = '') None [source]¶
Constructs a DISCONNECT-State with given reason (
ErrorReason
enum), error id and additional information provided as string.
- property error_reason: bokeh.client.states.ErrorReason¶
The reason for the error encoded as an enumeration value.