略微加速
PHP官方手册 - 互联网笔记
首页
IT
PHP手册
Elasticsearch
SVN手册
互联网
博客
登陆
注册
PHP - Manual: SAM
2025-09-16
简介 »
« RRDUpdater::update
PHP 手册
函数参考
其它服务
Simple Asynchronous Messaging
简介
安装/配置
需求
安装
运行时配置
资源类型
预定义常量
范例
Connections
Messages
Messaging operations
Publish/Subscribe and subscriptions to topics
Error handling
SAM 函数
SAMConnection::commit
— Commits (completes) the current unit of work
SAMConnection::connect
— Establishes a connection to a Messaging Server
SAMConnection::__construct
— Creates a new connection to a Messaging Server
SAMConnection::disconnect
— Disconnects from a Messaging Server
SAMConnection::errno
— Contains the unique numeric error code of the last executed SAM operation
SAMConnection::error
— Contains the text description of the last failed SAM operation
SAMConnection::isConnected
— Queries whether a connection is established to a Messaging Server
SAMConnection::peek
— Read a message from a queue without removing it from the queue
SAMConnection::peekAll
— Read one or more messages from a queue without removing it from the queue
SAMConnection::receive
— Receive a message from a queue or subscription
SAMConnection::remove
— Remove a message from a queue
SAMConnection::rollback
— Cancels (rolls back) an in-flight unit of work
SAMConnection::send
— Send a message to a queue or publish an item to a topic
SAMConnection::setDebug
— Turn on or off additional debugging output
SAMConnection::subscribe
— Create a subscription to a specified topic
SAMConnection::unsubscribe
— Cancel a subscription to a specified topic
SAMMessage::body
— The body of the message
SAMMessage::__construct
— Creates a new Message object
SAMMessage::header
— The header properties of the message
add a note
User Contributed Notes
There are no user contributed notes for this page.
官方地址:
https://www.php.net/manual/en/book.sam.php
有任何技术问题请点击这里
网站运营推广招聘
IT
PHP
编程语言
开发编程
Linux
科技
Elasticsearch
HTML/CSS/XML
面试
数据库
网络
JAVA
NoSQL
C/C++
Golang
Git
操作系统
算法
正则表达式
Redis
互联网
MySql
运维
软件
JavaScript
国际
架构设计
Mac OS
Excel
TCP/IP
Windows
Oracle
Socket
Vim
VR
MongoDB
运营
Python
MemCache
商业
硬件
电子
娱乐
设计
nginx
摄影
WordPress
游戏
HTTP
团建
数码电器
Docker
广告
PhpStorm中PHP注释的规范指南
php7.3 使用 PDO_DM 扩展连接 DM8 中文乱码
使用PHPWord将docx文件转换为html格式
docker-compose启动nginx与php-fpm
PHPStorm ESC 会退出命令行
laravel查看orm生成的sql
composer install参数
laravel orm中DB::insert方法导致内存泄漏的问题解决方法
php7 安装fileinfo扩展
adodb手册
ADORecordSet对象
利用php soap实现web service
adodb连接mysql多个数据库的问题
PHP 8.1
Packagist / Composer 中国全量镜像
array_multisort() 多字段排序
PHP历史版本下载
PHP根据URL获取IP
PHP注释规范
PHP json解析(json_decode)页面工具
联系我们
半月雨文化
可降解耗材网
蓝云环保
78免费小説
上海网站seo优化
工程造价
币安app官网下载
币安app官网下载
coinbase
华为360随身WiFi推荐
GamestoPlayatWork
明星排行榜
欧洲杯直播
欧洲杯直播
英超直播
美职联直播
沙特超级联赛直播
国王杯直播
法甲直播
英超直播
欧洲杯足球比赛直播
seo查询
北京半月雨文化科技有限公司
.版权所有
京ICP备12026184号-3