| Trees | Index | Help |
|
|---|
| Package bitfling :: Module xmlrpcstuff :: Class ServerChannel |
|
object--+ |Channel--+ | ServerChannel
| Method Summary | |
|---|---|
__init__(self,
chanid,
peeraddr,
username)
| |
readall(self,
amount)
| |
Main loop that deals with the XML-RPC data | |
| Inherited from Channel | |
| |
| str |
Return a string representation of this object, for debugging. |
Close the channel. | |
Execute a command on the server. | |
| int |
Returns an OS-level file descriptor which can be used for polling, but but not for reading or writing). |
| int |
Return the ID # for this channel. |
| str |
Get the name of this channel that was previously set by set_name. |
Request a pseudo-terminal from the server. | |
Transport
|
Return the Transport associated with this channel. |
| tuple(str, int) |
Return the address of the remote side of this Channel, if possible. |
| float |
Returns the timeout in seconds (as a float) associated with socket operations, or None if no timeout is set. |
Request an interactive shell session on this channel. | |
Request a subsystem on the server (for example, sftp). | |
ChannelFile
|
Return a file-like object associated with this channel. |
ChannelFile
|
Return a file-like object associated with this channel's stderr stream. |
| str |
Receive data from the channel. |
| int |
Return the exit status from the process on the server. |
| boolean |
Returns true if data is buffered and ready to be read from this channel. |
| str |
Receive data from the channel's stderr stream. |
| boolean |
Returns true if data is buffered and ready to be read from this channel's stderr stream. |
Request an x11 session on this channel. | |
Resize the pseudo-terminal. | |
| int |
Send data to the channel. |
Send the exit status of an executed command to the client. | |
| int |
Send data to the channel on the "stderr" stream. |
Send data to the channel, without allowing partial results. | |
Send data to the channel's "stderr" stream, without allowing partial results. | |
| bool |
Set whether stderr should be combined into stdout on this channel. |
Set a name for this channel. | |
Set blocking or non-blocking mode of the channel: if blocking is 0, the channel is set to non-blocking mode;
otherwise it's set to blocking mode. | |
Set a timeout on blocking read/write operations. | |
Shut down one or both halves of the connection. | |
Shutdown the receiving side of this socket, closing the stream in the incoming direction. | |
Shutdown the sending side of this socket, closing the stream in the outgoing direction. | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Method Details |
|---|
XMLRPCLoop(self, conn)Main loop that deals with the XML-RPC data
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Fri Aug 15 18:58:30 2008 | http://epydoc.sf.net |