Note
This documentation is for a development version of IPython. There may be significant differences from the latest stable release (1.2.1).
Base class for a Comm
Bases: IPython.config.configurable.LoggingConfigurable
Close the frontend-side version of this comm
Handle a comm_close message
Handle a comm_msg message
Register a callback for comm_close
Will be called with the data of the close message.
Call on_close(None) to disable an existing callback.
Register a callback for comm_msg
Will be called with the data of any comm_msg messages.
Call on_msg(None) to disable an existing callback.
Open the frontend-side version of this comm
Send a message to the frontend-side version of this comm