Php/docs/class.stomp

提供:Dev Guides
< Php
2020年12月14日 (月) 10:37時点におけるNotes (トーク | 投稿記録)による版 (autoload)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

(PECL stomp >= 0.1.0)

はじめに

Represents a connection between PHP and a Stomp compliant Message Broker.


クラス概要


Stomp {

/* メソッド */

public abort ( string $transaction_id [, array $headers ] ) : bool

public ack ( mixed $msg [, array $headers ] ) : bool

public begin ( string $transaction_id [, array $headers ] ) : bool

public commit ( string $transaction_id [, array $headers ] ) : bool

public __construct ([ string $broker = ini_get("stomp.default_broker_uri") [, string $username [, string $password [, array $headers ]]]] )

public __destruct ( ) : bool

public error ( ) : string

public getReadTimeout ( ) : array

public getSessionId ( ) : string|false

public hasFrame ( ) : bool

public readFrame ([ string $class_name = "stompFrame" ] ) : stompframe

public send ( string $destination , mixed $msg [, array $headers ] ) : bool

public setReadTimeout ( int $seconds [, int $microseconds ] ) : void

public subscribe ( string $destination [, array $headers ] ) : bool

public unsubscribe ( string $destination [, array $headers ] ) : bool

}

目次