stomp_version
Stomp::abort
Stomp
PHP Manual
کلاس Stomp
Introduction
نمایش اتصال بین PHP و بروکر پیام منطبق Stomp.
Class synopsis
Stomp
{
/* Methods */
public
bool
abort
(
string
$transaction_id
[,
array
$headers
] )
public
bool
ack
(
mixed
$msg
[,
array
$headers
] )
public
bool
begin
(
string
$transaction_id
[,
array
$headers
] )
public
bool
commit
(
string
$transaction_id
[,
array
$headers
] )
__construct
([
string
$broker
= ini_get("stomp.default_broker_uri")
[,
string
$username
[,
string
$password
]]] )
public
bool
__destruct
(
void
)
public
string
error
(
void
)
public
array
getReadTimeout
(
void
)
public
string
getSessionId
(
void
)
public
bool
hasFrame
(
void
)
public
stompframe
readFrame
([
string
$class_name
= "stompFrame"
] )
public
bool
send
(
string
$destination
,
mixed
$msg
[,
array
$headers
] )
public
void
setReadTimeout
(
int
$seconds
[,
int
$microseconds
] )
public
bool
subscribe
(
string
$destination
[,
array
$headers
] )
public
bool
unsubscribe
(
string
$destination
[,
array
$headers
] )
}
Table of Contents
Stomp::abort
— برگرداندن تراکنش در حال اجرا
Stomp::ack
— تایید پیام مصرف
Stomp::begin
— شروع تراکنش
Stomp::commit
— انجام تراکنش در حال اجرا
Stomp::__construct
— باز کردن اتصال
Stomp::__destruct
— بستن اتصال stomp
Stomp::error
— دریافت آخرین خطای stomp
Stomp::getReadTimeout
— دریافت timeout خواندن
Stomp::getSessionId
— دریافت stomp session ID فعلی
Stomp::hasFrame
— نشاندهنده آماده بودن فریم برای خواندن
Stomp::readFrame
— خواندن فریم بعدی
Stomp::send
— فرستادن پیام
Stomp::setReadTimeout
— تعیین timeout خواندن
Stomp::subscribe
— ثبت گوش کردن به یک منبع داده شدهRegisters to listen to a given destination
Stomp::unsubscribe
— حذف عضویت موجود
stomp_version
Stomp::abort
Stomp
PHP Manual