IPython Documentation

Table Of Contents

Previous topic

Module: kernel.inprocess.blocking

Next topic

Module: kernel.inprocess.client

This Page

Note

This documentation is for a development version of IPython. There may be significant differences from the latest stable release (1.2.1).

Module: kernel.inprocess.channels

A kernel client for in-process kernels.

5 Classes

class IPython.kernel.inprocess.channels.InProcessChannel(client)

Bases: object

Base class for in-process channels.

__init__(client)
call_handlers(msg)

This method is called in the main thread when a message arrives.

Subclasses should override this method to handle incoming messages.

call_handlers_later(*args, **kwds)

Call the message handlers later.

The default implementation just calls the handlers immediately, but this method exists so that GUI toolkits can defer calling the handlers until after the event loop has run, as expected by GUI frontends.

process_events()

Process any pending GUI events.

This method will be never be called from a frontend without an event loop (e.g., a terminal frontend).

class IPython.kernel.inprocess.channels.InProcessShellChannel(client)

Bases: IPython.kernel.inprocess.channels.InProcessChannel

See IPython.kernel.channels.ShellChannel for docstrings.

kernel_info()

Request kernel info.

class IPython.kernel.inprocess.channels.InProcessIOPubChannel(client)

Bases: IPython.kernel.inprocess.channels.InProcessChannel

See IPython.kernel.channels.IOPubChannel for docstrings.

class IPython.kernel.inprocess.channels.InProcessStdInChannel(client)

Bases: IPython.kernel.inprocess.channels.InProcessChannel

See IPython.kernel.channels.StdInChannel for docstrings.

class IPython.kernel.inprocess.channels.InProcessHBChannel(*args, **kwds)

Bases: IPython.kernel.inprocess.channels.InProcessChannel

See IPython.kernel.channels.HBChannel for docstrings.

__init__(*args, **kwds)