云题海 - 专业文章范例文档资料分享平台

当前位置:首页 > activemq-cpp开发手册

activemq-cpp开发手册

  • 62 次阅读
  • 3 次下载
  • 2025/6/14 21:58:44

6.4.2 接口

6.4.2.1 virtual cms::BytesMessage::~BytesMessage() [inline,

virtual]

6.4.2.2 virtual void cms::BytesMessage::setBodyBytes(const

unsigned char * buffer,std::size_t numBytes) throw(CMSException) [pure virtual]

sets the bytes given to the message body. Parameters: Byte Buffer to copy Number of bytes in Buffer to copy Exceptions: CMSException

6.4.2.3 virtual const unsigned

const

char* [pure

cms::BytesMessage::getBodyBytes() virtual]

Gets the bytes that are contained in this message, user should copy this data into a user allocated buffer.

Call getBodyLength to determine the number of bytes to expect. Returns:

const pointer to a byte buffer

6.4.2.4 virtual std::size_t cms::BytesMessage::getBodyLength()

const [pure virtual]

Returns the number of bytes contained in the body of this message. Returns:

number of bytes.

6.4.2.5 virtual void cms::BytesMessage::reset()

throw(cms::CMSException) [pure virtual]

Puts the message body in read-only mode and repositions the stream of bytes to the beginning. Exceptions: CMSException

6.4.2.6 virtual bool cms::BytesMessage::readBoolean()

throw(cms::CMSException) [pure virtual]

Reads a Boolean from the Bytes message stream. Returns:

boolean value from stream Exceptions: CMSException

6.4.2.7 virtual void cms::BytesMessage::writeBoolean(bool

value) throw(cms::CMSException) [pure virtual]

Writes a boolean to the bytes message stream as a 1-byte value.

The value true is written as the value(byte) 1; the value false is written as the value(byte) 0. Parameters: value - boolean to write to the stream Exceptions: CMSException

6.4.2.8 virtual unsigned char cms::BytesMessage::readByte()

throw(cms::CMSException) [pure virtual]

Reads a Byte from the Bytes message stream. Returns:

unsigned char value from stream Exceptions: CMSException

virtual void cms::BytesMessage::writeByte(unsigned char

搜索更多关于: activemq-cpp开发手册 的文档
  • 收藏
  • 违规举报
  • 版权认领
下载文档10.00 元 加入VIP免费下载
推荐下载
本文作者:...

共分享92篇相关文档

文档简介:

6.4.2 接口 6.4.2.1 virtual cms::BytesMessage::~BytesMessage() [inline, virtual] 6.4.2.2 virtual void cms::BytesMessage::setBodyBytes(const unsigned char * buffer,std::size_t numBytes) throw(CMSException) [pure virtual] sets the bytes given to the message body. Parameters: Byte Buffer to copy Number of bytes in Buffer to copy Exceptions: CMSE

× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价:10 元/份 原价:20元
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219
Copyright © 云题海 All Rights Reserved. 苏ICP备16052595号-3 网站地图 客服QQ:370150219 邮箱:370150219@qq.com