Methods
|
|
|
|
__init__
|
__init__ (
self,
command=None,
autostart=True,
)
|
|
_get_pid
|
_get_pid ( self )
|
|
_read
|
_read (
self,
handle,
rbufsize=4096,
)
Exceptions
|
|
RuntimeError, ( 1, 'ERROR: socket connection broken' )
|
|
|
_read_process
|
_read_process ( self )
|
|
_set_nb
|
_set_nb ( self, fdlist )
|
|
_write
|
_write (
self,
handle,
str,
)
Exceptions
|
|
RuntimeError, ( 1, 'ERROR: socket connection broken' )
|
|
|
_write_process
|
_write_process ( self, str )
|
|
connect
|
connect (
self,
host=None,
port=None,
)
Exceptions
|
|
ValueError, 'ERROR: command not started'
ValueError, 'ERROR: host and port not specified'
|
|
|
kill
|
kill ( self, signal )
|
|
serve
|
serve ( self )
|
|
socket
|
socket (
self,
host="",
port=0,
)
|
|
start
|
start ( self )
|
|
status
|
status ( self )
|
|
wait
|
wait ( self )
|
|