UC故事 2012/04/19 Server
来源:互联网 发布:迅龙数据恢复 绿色 编辑:程序博客网 时间:2024/05/16 06:29
1. 读文档与代码
* MCS
class IMcs : public IOption
{
public:
...
virtual RtResult JoinChannel(const CInfoSID& userInfoSID, const CInfoSID& channelID, IInfoSvrPort* pSrcPort = NULL) = 0;
virtual RtResult LeaveChannel(const CInfoSID& userInfoSID, const CInfoSID& channelID, IInfoSvrPort* pSrcPort = NULL) = 0;
virtual RtResult SendData(IInfoSvrPort* pSrcPort,
const CInfoSID& destInfoSID,
CRtMessageBlock& Data,
DATAFLAG DataFlag = DATA_FLAG_COMMAND,
DATA_Priority DataPriority = DATA_PRIORITY_HIGH) = 0; //发送数据到Port
};
Q: Why既有CInfoSID又有IInfoSvrPort?它们到底什么关系?
A:可能和网络线程与主线程的区分有关。
* Port
Q: 这里的port与client sesion里的cconfport有什么关系吗?
2. 杂问
Q:VC6如何看一个类的子类?
- UC故事 2012/04/19 Server
- UC故事 Server 2012/04/11
- UC故事 Server 2012/04/12
- UC故事2012/05/04 Server 文档
- UC故事 2012/04/07 build server/client
- UC故事2012/05/02 Server
- UC故事2012/05/03 Server
- UC故事2012/05/06 Server
- UC故事 2012/05/07 Server文档
- UC故事2012/05/08 Server 文档
- UC故事2012/04/23
- UC故事 2012/04/26
- UC故事2012/04/28
- UC故事2012/05/03 - 2 Server 文档
- UC故事 - 回顾 2012/04/03
- UC故事 回顾 2012/04/05
- UC故事2011/11/19
- UC故事 2012/05/20
- springMVC3+JDBCTemplate简单示例
- 快速排序算法
- ELisp编程六:定义变量
- 树立正确的社会观与人生观
- Android display架构分析
- UC故事 2012/04/19 Server
- Activtiy的四种加载模式
- RSS源摘录
- MySql COLLATE 的区别
- gcc 头文件搜索路径
- ruby on rails 【语法大全2】【模型(Models)】数据库迁移(Migrations)
- C语言中冒泡法、选择法、插入法三种常见排序算法分析
- linux Ubuntu 下连接路由
- C# 的ToString() 参数详解