t.c.i.I.lookupChannel(channelType, windowSize, maxPacket, data) : method documentation

Part of twisted.conch.interfaces.IConchUser View Source

The other side requested a channel of some sort. channelType is the type of channel being requested, windowSize is the initial size of the remote window, maxPacket is the largest packet we should send, data is any other packet data (often nothing).

We return a subclass of SSHChannel. If an appropriate channel can not be found, an exception will be raised. If a ConchError is raised, the .value will be the message, and the .data will be the error code.
ParameterschannelType (type: str )
windowSize (type: int )
maxPacket (type: int )
data (type: str )
Returns (type: subclass of SSHChannel/tuple )
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:27:37.