u-RPC (Python API)  1.0.1
The u-RPC Remote Procedure Call framework
constants.py File Reference

Namespaces

 urpc.constants
 

Variables

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