|
Stomp::abortstomp_abortRolls back a transaction in progress BeschreibungObjektorientierter Stil (method):
public bool Stomp::abort
( string
$transaction_id
[, array $headers
] )Prozeduraler Stil:
bool stomp_abort
( resource
$link
, string $transaction_id
[, array $headers
] )Rolls back a transaction in progress. Parameter-Liste
Rückgabewerte
Gibt bei Erfolg AnmerkungenTipp
Eine grundlegende Eigenschaft von Stomp ist die Synchronität. Synchrone Kommunikation kann durch das Hinzufügen eines Empfangsheaders (receipt-Header) implementiert werden. Dies wird dazu führen, dass Methoden nicht zurückkehren, bis der Server den Empfang der Nachricht bestätigt hat oder der Lese-Timeout übershcritten wurde. Beispiele
Beispiel #1 Objektorientierter Stil
<?php
Beispiel #2 Prozeduraler Stil
<?php |