WISP ERT (Server)
1.0.0
The WISP Extended Runtime (Server side)
|
Classes | |
class | ChecksumStream |
Byte data stream with checksum functionality. More... | |
class | CyclicInt |
Cyclic integer type. More... | |
class | CyclicRange |
Cyclic range type. More... | |
class | DataStreamMixin |
Byte stream mix-in for reading and writing Python values. More... | |
class | EventTarget |
Event target mix-in class. More... | |
Functions | |
def | xor_checksum (buf) |
Xor checksum function. More... | |
def | _check_radix (x, y) |
Check the radix of two cyclic integers or ranges. More... | |
def | force_print_exc (func) |
Force printing traceback when exception is thrown. More... | |
|
private |
Check the radix of two cyclic integers or ranges.
x | Cyclic integer or range. |
y | Cyclic integer or range. |
ValueError | if radix of x and y mismatch. |
def wtp.util.force_print_exc | ( | func | ) |
Force printing traceback when exception is thrown.
(Used for debugging code inside Twisted deferred object)
func | Function to wrap. |
def wtp.util.xor_checksum | ( | buf | ) |
Xor checksum function.
buf | Buffer to calculate checksum. |