Package M2Crypto :: Module BIO :: Class BIO
[frames] | no frames]

Class BIO




Abstract object interface to the BIO API.

Instance Methods
 
m2_bio_free(...)
 
__init__(self, bio=None, _pyfree=0, _close_cb=None)
 
__del__(self)
 
bio_ptr(self)
 
fileno(self)
 
readable(self)
 
read(self, size=None)
 
readline(self, size=4096)
 
readlines(self, sizehint='ignored')
 
writeable(self)
 
write(self, data)
 
write_close(self)
 
flush(self)
 
reset(self)
Sets the bio to its initial state
 
close(self)
 
should_retry(self)
Can the call be attempted again, or was there an error ie do_handshake
 
should_read(self)
Returns whether the cause of the condition is the bio should read more data
 
should_write(self)
Returns whether the cause of the condition is the bio should write more data