58 lines
1.5 KiB
C++
58 lines
1.5 KiB
C++
/*********************************************************************
|
|
*
|
|
* 文 件: zudp.h zudp启动文件
|
|
*
|
|
* 版权所有: Shanghai Baosight Software Co., Ltd.
|
|
*
|
|
* 概述:
|
|
* :
|
|
* :
|
|
*
|
|
* 版本历史
|
|
* 1.0 2021-07-01 zoufuzhou 增加注释
|
|
*
|
|
*********************************************************************/
|
|
#include <pace/pace.h>
|
|
#include <pace/Component.h>
|
|
#include <proxy/MessageICE.h>
|
|
#include <zudp/zudpICEI.h>
|
|
#include <log4cplus/LOG.h>
|
|
#include <glob/ConnectionMag.h>
|
|
|
|
using namespace std;
|
|
using namespace log4cplus;
|
|
|
|
namespace baosight{
|
|
const int wait_time[20] = {1,2,3,4,5,6,7,8,9,10};
|
|
/*********************************************************************
|
|
* 类 名: zudp
|
|
* 版权所有: Shanghai Baosight Software Co., Ltd.
|
|
* 类 职 责:
|
|
* :
|
|
* :
|
|
* 版本历史
|
|
* 1.0 2010-09-01 echo_li 增加注释
|
|
*
|
|
*********************************************************************/
|
|
class zudp : public Component
|
|
{
|
|
public :
|
|
zudp();
|
|
/**********************************************************************
|
|
* 概述: 启动接口
|
|
* 函数名: start
|
|
* 返回值: int
|
|
* 参数列表: 参数类型 取值范围 描述
|
|
*
|
|
* 版本历史
|
|
* 1.0 2010-09-01 echo_li 增加注释
|
|
*
|
|
**********************************************************************/
|
|
virtual int start();
|
|
virtual ~zudp();
|
|
private:
|
|
MessageICEPtr m_zudpServer;
|
|
ConnectionMag* mp_conMag;
|
|
};
|
|
};
|