Php/docs/stomp.hasframe

提供:Dev Guides
< Php
移動先:案内検索

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 Stomp::hasFrame ( ) : bool

手続き型:

stomp_has_frame ( resource $link ) : bool

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


パラメータ

link
手続き型のみ: stomp_connect() が返す stomp リンク ID。


返り値

Returns true if a frame is ready to read, or false otherwise.