Imported modules
|
|
from select import select
|
Functions
|
|
|
|
certificate
|
certificate ( String, password )
generate a certificate for a string, using a password
|
|
certify
|
certify (
String,
cert,
password,
)
check a certificate for a string
|
|
interpret_response
|
interpret_response ( data )
interpret response data, raise exception if needed
|
|
recv_data
|
recv_data ( socket, timeout=10 )
receive data or time out
|
|
reply
|
reply ( data, socket )
|
|
reply_exception
|
reply_exception (
exception,
info,
socket,
)
send an exception back to the client
|
|
reply_success
|
reply_success ( data, socket )
report success with data back to client
|
|
send_certified_action
|
send_certified_action (
actor_name,
action,
arguments,
password,
socket,
)
|
|
send_len
|
send_len ( data, socket )
send length of data as cr terminated int rep
|
|
send_packet
|
send_packet ( socket, data )
blast out a length marked packet
|
|
unpack_certified_data
|
unpack_certified_data ( data )
|
Classes
|
|
|