Methods
|
|
|
|
__getattr__
|
__getattr__ ( self, attr )
cheap inheritance, used to pass all other attribute
references to the underlying socket object.
|
|
__init__
|
__init__ (
self,
sock=None,
map=None,
)
|
|
__repr__
|
__repr__ ( self )
|
|
accept
|
accept ( self )
|
|
add_channel
|
add_channel ( self, map=None )
|
|
bind
|
bind ( self, addr )
|
|
close
|
close ( self )
|
|
connect
|
connect ( self, address )
|
|
create_socket
|
create_socket (
self,
family,
type,
)
|
|
del_channel
|
del_channel ( self, map=None )
|
|
handle_accept
|
handle_accept ( self )
|
|
handle_close
|
handle_close ( self )
|
|
handle_connect
|
handle_connect ( self )
|
|
handle_error
|
handle_error ( self )
|
|
handle_expt
|
handle_expt ( self )
|
|
handle_expt_event
|
handle_expt_event ( self )
|
|
handle_read
|
handle_read ( self )
|
|
handle_read_event
|
handle_read_event ( self )
|
|
handle_write
|
handle_write ( self )
|
|
handle_write_event
|
handle_write_event ( self )
|
|
listen
|
listen ( self, num )
|
|
log
|
log ( self, message )
|
|
log_info
|
log_info (
self,
message,
type='info',
)
|
|
readable
|
readable ( self )
|
|
recv
|
recv ( self, buffer_size )
|
|
send
|
send ( self, data )
|
|
set_reuse_addr
|
set_reuse_addr ( self )
|
|
set_socket
|
set_socket (
self,
sock,
map=None,
)
|