略微加速
PHP官方手册 - 互联网笔记
首页
IT
PHP手册
Elasticsearch
SVN手册
互联网
博客
登陆
注册
PHP - Manual: SAM
2026-03-20
简介 »
« 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 中文乱码
laravel查看orm生成的sql
使用PHPWord将docx文件转换为html格式
PhpStorm中PHP注释的规范指南
docker-compose启动nginx与php-fpm
PHPStorm ESC 会退出命令行
composer install参数
laravel orm中DB::insert方法导致内存泄漏的问题解决方法
php7 安装fileinfo扩展
Composer的Packagist资源
利用php soap实现web service
常用的php ADODB使用方法集锦
adodb连接mysql多个数据库的问题
两千行PHP学习笔记
php 将字符串中的连续多个空格转换为一个空格
ADOConnection 公用函数
php设置cookie为httponly防止xss攻击
opcache预加载
cURL 函数
联系我们
半月雨文化
可降解耗材网
蓝云环保
工程造价
LitBuySpreadsheet
AcbuySpreadsheet
超链博客
seo查询
北京半月雨文化科技有限公司
.版权所有
京ICP备12026184号-3