Stomp
PHP Manual

Stomp::hasFrame

stomp_has_frame

(PECL stomp >= 0.1.0)

Stomp::hasFrame -- stomp_has_frameIndicates whether or not there is a frame ready to read

说明

Object oriented style (method):

public bool Stomp::hasFrame ( void )

Procedural style:

bool stomp_has_frame ( resource $link )

Indicates whether or not there is a frame ready to read.

参数

link

仅对过程化样式:由 stomp_connect() 返回的 stomp 连接标识符。

返回值

Returns TRUE if a frame is ready to read, or FALSE otherwise.


Stomp
PHP Manual