eis/inc/zsub/zsubICEI.h

112 lines
3.4 KiB
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*********************************************************************
*
* 文 件: zsubICEI.h zsub对外接口
*
* 版权所有: Shanghai Baosight Software Co., Ltd.
*
* 概述:
*
*
*
* 版本历史
* 1.0 2010-06-18 echo_li 初次建立
* %USER%
*********************************************************************/
#ifndef L3SNDICEI_h_
#define L3SNDICEI_h_
#include "SubscribeFDA.h"
#include <proxy/MessageICE.h>
#include <log4cplus/LOG.h>
#include <Ice/BuiltinSequences.h>
namespace baosight
{
/*********************************************************************
* 类 名: zsubICEI
* 版权所有: Shanghai Baosight Software Co., Ltd.
* 类 职 责:用于接收其他应用传进的数据,并调用XCom发送给L3
*
*
* 版本历史
* 1.0 2010-06-18 echo_li 初次建立
*
*********************************************************************/
class zsubICEI : virtual public MessageICE
{
public:
zsubICEI();
public:
~zsubICEI();
public:
/**********************************************************************
* 概述: 简单数据调用接口
* 函数名: SendDataShort
* 返回值: void
* 参数列表: 参数类型 取值范围 描述
* : ::Ice::Int 事件号
* &: const ::Ice::ByteSeq 数据
* : ::Ice::Int 数据长度
* &: const Ice::Current
*
* 版本历史
* 1.0 2010-09-01 echo_li 增加注释
*
**********************************************************************/
virtual void SendDataShort(::Ice::Int ,
const ::Ice::ByteSeq& ,
::Ice::Int ,
const Ice::Current&);
/**********************************************************************
* 概述: 复杂数据数据调用接口
* 函数名: SendDataLong
* 返回值: void
* 参数列表: 参数类型 取值范围 描述
* : ::Ice::Int 事件号
* &: const ::Ice::ByteSeq 数据
* : ::Ice::Int 数据长度
* &: const ::std::string 发送方
* &: const ::std::string 接收方
* &: const ::std::string 附加信息
* &: const Ice::Current
*
* 版本历史
* 1.0 2010-09-01 echo_li 增加注释
*
**********************************************************************/
virtual void SendDataLong(::Ice::Int,
const ::Ice::ByteSeq&,
::Ice::Int,
const ::std::string&,
const ::std::string&,
const ::std::string&,
const Ice::Current&);
/**********************************************************************
* 概述: 预留接口,用于周期性事件调用
* 函数名: TimeNotify
* 返回值: void
* 参数列表: 参数类型 取值范围 描述
* : ::Ice::Int
* &: const ::Ice::ByteSeq
* &: const Ice::Current
*
* 版本历史
* 1.0 2010-09-01 echo_li 增加注释
*
**********************************************************************/
virtual void TimeNotify(::Ice::Int,
const ::Ice::ByteSeq&,
const Ice::Current&);
private:
string GetSubAddr();
private:
// char *mp_data;
// SubscribeFDA* mp_subsrible;
};
}
#endif