| author: | Guannan Ma |
|---|---|
| create_date: | 2014 |
| last_date: | 2014 |
该函数以peer(ipaddr, port)为输入参数, 生成一个connaddr
该函数设置connaddr中的stub到connaddr
该函数设置connaddr中的future到connaddr
该函数获取connaddr中的(ip, port)
该函数获取connaddr中的ip
该函数获取connaddr中的port
| author: | Guannan Ma |
|---|---|
| create_date: | 2014 |
| last_date: | 2014 |
| descrition: | connection related module |
Bases: object
Connection上下文处理类
push data into the recving_msg queue network read should be in 1 thread only.
| author: | Guannan Ma |
|---|---|
| create_date: | 2014 |
| last_date: | 2014 |
| descrition: | netmsg related module |
Bases: object
flag: System use only. type: System will use type > 65535. Users will use type <=65535
#head 0, SAGIT for building connection #len - uint64 #fromip,port, stub -uint64 #toip,port, stub -uint64 #msg_type -uint32 #uniqid -uint64 #body -no limit (length:uint64)
| author: | Guannan Ma |
|---|---|
| create_date: | 2014 |
| last_date: | 2014 |
| descrition: | msg center related module |
| author: | Guannan Ma |
|---|---|
| create_date: | 2014 |
| last_date: | 2014 |
| descrition: | Async Module是ython tcp异步通讯框架. |