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

说明

面向对象风格 (method):

public bool Stomp::hasFrame ( void )

过程化风格:

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