Stomp::getReadTimeout

(PECL stomp >= 0.3.0) Gets read timeout public array Stomp::getReadTimeout ( void ) Object oriented style (method): Procedural style: array stomp_get_read_timeout ( resource $link ) Gets read timeout Parameters: link Procedural style only: The stomp link identifier returned by stomp_connect(). Returns: Returns an array with 2 elements: sec and

Stomp::error

(PECL stomp >= 0.1.0) Gets the last stomp error public string Stomp::error ( void ) Object oriented style (method): Procedural style: string stomp_error ( resource $link ) Gets the last stomp error. Parameters: link Procedural style only: The stomp link identifier returned by stomp_connect(). Returns: Returns an error string or FALSE if no erro

Stomp::__destruct

(PECL stomp >= 0.1.0) Closes stomp connection public bool Stomp::__destruct ( void ) Object oriented style (destructor): Procedural style: bool stomp_close ( resource $link ) Closes a previously opened connection. Parameters: link Procedural style only: The stomp link identifier returned by stomp_connect(). Returns: Returns TRUE on success or F

Stomp::__construct

(PECL stomp >= 0.1.0) Opens a connection public Stomp::__construct ([ string $broker = ini_get("stomp.default_broker_uri") [, string $username [, string $password [, array $headers ]]]] ) Object oriented style (constructor): Procedural style: resource stomp_connect ([ string $broker = ini_get("stomp.default_broker_uri") [, string $username [, string $password [, array $headers ]]]] ) Opens a connection to a stomp compli

Stomp::commit

(PECL stomp >= 0.1.0) Commits a transaction in progress public bool Stomp::commit ( string $transaction_id [, array $headers ] ) Object oriented style (method): Procedural style: bool stomp_commit ( resource $link , string $transaction_id [, array $headers ] ) Commits a transaction in progress. Parameters: link Procedural style only: The stomp link identifier returned

Stomp::begin

(PECL stomp >= 0.1.0) Starts a transaction public bool Stomp::begin ( string $transaction_id [, array $headers ] ) Object oriented style (method): Procedural style: bool stomp_begin ( resource $link , string $transaction_id [, array $headers ] ) Starts a transaction. Parameters: link Procedural style only: The stomp link identifier returned by stomp_connect().

Stomp::ack

(PECL stomp >= 0.1.0) Acknowledges consumption of a message public bool Stomp::ack ( mixed $msg [, array $headers ] ) Object oriented style (method): Procedural style: bool stomp_ack ( resource $link , mixed $msg [, array $headers ] ) Acknowledges consumption of a message from a subscription using client acknowledgment. Parameters: link Procedural style only: The stomp

Stomp::abort

(PECL stomp >= 0.1.0) Rolls back a transaction in progress public bool Stomp::abort ( string $transaction_id [, array $headers ] ) Object oriented style (method): Procedural style: bool stomp_abort ( resource $link , string $transaction_id [, array $headers ] ) Rolls back a transaction in progress. Parameters: link Procedural style only: The stomp link identifier retur

stomp_version

(PECL stomp >= 0.1.0) Gets the current stomp extension version string stomp_version ( void ) Returns a string containing the version of the current stomp extension. Returns: It returns the current stomp extension version Examples: stomp_version() example <?php var_dump(stomp_version()); ?> The above example

stomp_connect_error

(PECL stomp >= 0.3.0) Returns a string description of the last connect error string stomp_connect_error ( void ) Returns a string description of the last connect error. Returns: A string that describes the error, or NULL if no error occurred. Examples: stomp_connect_error() example <?php $link = stomp_connect('http: