略微加速
PHP官方手册 - 互联网笔记
首页
IT
PHP手册
Elasticsearch
SVN手册
互联网
博客
登陆
注册
PHP - Manual: SAM
2026-06-13
简介 »
« 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
商业
TCP/IP
Excel
Windows
Oracle
Socket
VR
Vim
MongoDB
运营
Python
MemCache
硬件
电子
娱乐
设计
摄影
nginx
游戏
WordPress
HTTP
团建
数码电器
Docker
大模型
广告
mysql8切换用户密码验证方式 sha256_password警告
php7.3 使用 PDO_DM 扩展连接 DM8 中文乱码
使用PHPWord将docx文件转换为html格式
laravel查看orm生成的sql
docker-compose启动nginx与php-fpm
PhpStorm中PHP注释的规范指南
PHPStorm ESC 会退出命令行
composer install参数
laravel orm中DB::insert方法导致内存泄漏的问题解决方法
php7 安装fileinfo扩展
ADORecordSet对象
adodb手册
adodb连接mysql多个数据库的问题
opcache预加载
cURL 函数
PHP json解析(json_decode)页面工具
PHP数组排序
利用PHP SOAP实现WEB SERVICE
PHP - mysql_real_escape_string()与mysql_escape_string() 的区别
PHP协程实现过程详解
联系我们
半月雨文化
可降解耗材网
蓝云环保
工程造价
seo查询
北京半月雨文化科技有限公司
.版权所有
京ICP备12026184号-3