u-RPC (Python API)
1.0.1
The u-RPC Remote Procedure Call framework
|
Variables | |
int | URPC_MAGIC = 10 |
u-RPC protocol magic More... | |
int | URPC_VERSION = 1 |
u-RPC protocol version More... | |
int | URPC_MSG_ERROR = 0 |
Error message. More... | |
int | URPC_MSG_FUNC_QUERY = 1 |
Function query message. More... | |
int | URPC_MSG_FUNC_RESP = 2 |
Function query response message. More... | |
int | URPC_MSG_CALL = 3 |
Function call message. More... | |
int | URPC_MSG_CALL_RESULT = 4 |
Function call result message. More... | |
int | I8 = 0x00 |
Signed 8-bit data. More... | |
int | U8 = 0x01 |
Unsigned 8-bit data. More... | |
int | I16 = 0x02 |
Signed 16-bit data. More... | |
int | U16 = 0x03 |
Unsigned 16-bit data. More... | |
int | I32 = 0x04 |
Signed 32-bit data. More... | |
int | U32 = 0x05 |
Unsigned 32-bit data. More... | |
int | I64 = 0x06 |
Signed 64-bit data. More... | |
int | U64 = 0x07 |
Unsigned 64-bit data. More... | |
int | VARY = 0x08 |
Variable length data. More... | |
int | URPC_OK = 0x00 |
Operation successfully completed. More... | |
int | URPC_ERR_SIG_INCORRECT = 0x20 |
Incorrect function signature. More... | |
int | URPC_ERR_NONEXIST = 0x21 |
Nonexist handle. More... | |
int | URPC_ERR_NO_SUPPORT = 0x22 |
Operation not supported. More... | |
int | URPC_ERR_NO_MEMORY = 0x23 |
Store is full. More... | |
int | URPC_ERR_BROKEN_MSG = 0x24 |
Broken u-RPC message. More... | |
int | URPC_ERR_EXCEPTION = 0x25 |
Function call throws exception. More... | |
int | URPC_ERR_TOO_LONG = 0x26 |
Data too long. More... | |
list | urpc_type_repr |
u-RPC type representation for struct module More... | |
list | urpc_type_size |
u-RPC type to size mapping More... | |
int urpc.constants.I16 = 0x02 |
Signed 16-bit data.
int urpc.constants.I32 = 0x04 |
Signed 32-bit data.
int urpc.constants.I64 = 0x06 |
Signed 64-bit data.
int urpc.constants.I8 = 0x00 |
Signed 8-bit data.
int urpc.constants.U16 = 0x03 |
Unsigned 16-bit data.
int urpc.constants.U32 = 0x05 |
Unsigned 32-bit data.
int urpc.constants.U64 = 0x07 |
Unsigned 64-bit data.
int urpc.constants.U8 = 0x01 |
Unsigned 8-bit data.
int urpc.constants.URPC_ERR_BROKEN_MSG = 0x24 |
Broken u-RPC message.
int urpc.constants.URPC_ERR_EXCEPTION = 0x25 |
Function call throws exception.
int urpc.constants.URPC_ERR_NO_MEMORY = 0x23 |
Store is full.
int urpc.constants.URPC_ERR_NO_SUPPORT = 0x22 |
Operation not supported.
int urpc.constants.URPC_ERR_NONEXIST = 0x21 |
Nonexist handle.
int urpc.constants.URPC_ERR_SIG_INCORRECT = 0x20 |
Incorrect function signature.
int urpc.constants.URPC_ERR_TOO_LONG = 0x26 |
Data too long.
int urpc.constants.URPC_MAGIC = 10 |
u-RPC protocol magic
int urpc.constants.URPC_MSG_CALL = 3 |
Function call message.
int urpc.constants.URPC_MSG_CALL_RESULT = 4 |
Function call result message.
int urpc.constants.URPC_MSG_ERROR = 0 |
Error message.
int urpc.constants.URPC_MSG_FUNC_QUERY = 1 |
Function query message.
int urpc.constants.URPC_MSG_FUNC_RESP = 2 |
Function query response message.
int urpc.constants.URPC_OK = 0x00 |
Operation successfully completed.
list urpc.constants.urpc_type_repr |
u-RPC type representation for struct module
list urpc.constants.urpc_type_size |
int urpc.constants.URPC_VERSION = 1 |
u-RPC protocol version
int urpc.constants.VARY = 0x08 |
Variable length data.