Home | Trees | Indices | Help |
|
---|
|
This class defines direct TCP connection method.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
Cache connection point 'server'. 'server' is the tuple of (host, port) absolutely the same as standard tcp socket uses.
|
Fire up connection. Return non-empty string on success. Also registers self.disconnected method in the owner's dispatcher. Called internally. |
Try to connect. Returns non-empty string on success. |
Reads all pending incoming data. In case of disconnection calls owner's disconnected() method and then raises IOError exception. |
Writes raw outgoing data. Blocks until done. If supplied data is unicode string, encodes it to utf-8 before send. |
Called when a Network Error or disconnection occurs. Designed to be overidden. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Aug 1 18:44:59 2012 | http://epydoc.sourceforge.net |