PHP Doku:: The Stomp class - class.stomp.html
Verlauf / Chronik / History:
(1)
anzeigen
ausblenden
The Stomp class
Sie sind hier:
Doku-Startseite
≥
PHP-Handbuch
≥
Funktionsreferenz
≥
Sonstige Dienste
≥
Stomp Client
≥
The Stomp class
Ein Service von Reinhard Neidl -
Webprogrammierung
.
Stomp Client
<<
stomp_version
Stomp::abort -- stomp_abort
>>
∧
PHP-Handbuch
∧
Funktionsreferenz
∧
Sonstige Dienste
∧
Stomp Client
The Stomp class
The StompException class
The StompFrame class
Einführung
Stomp Funktionen
Beispiele
Installation/Konfiguration
UnterSeiten:
∨
Stomp::abort -- stomp_abort
∨
Stomp::ack -- stomp_ack
∨
Stomp::begin -- stomp_begin
∨
Stomp::commit -- stomp_commit
∨
Stomp::__construct -- stomp_connect
∨
Stomp::__destruct -- stomp_close
∨
Stomp::error -- stomp_error
∨
Stomp::getReadTimeout -- stomp_get_read_timeout
∨
Stomp::getSessionId -- stomp_get_session_id
∨
Stomp::hasFrame -- stomp_has_frame
∨
Stomp::readFrame -- stomp_read_frame
∨
Stomp::send -- stomp_send
∨
Stomp::setReadTimeout -- stomp_set_read_timeout
∨
Stomp::subscribe -- stomp_subscribe
∨
Stomp::unsubscribe -- stomp_unsubscribe
The Stomp class
Einführung
Represents a connection between PHP and a Stomp compliant Message Broker.
Klassenbeschreibung
Stomp
{
/* Methoden */
public
bool
abort
(
string
$transaction_id
[,
array
$headers
] )
public
bool
ack
(
mixed
$msg
[,
array
$headers
] )
public
bool
begin
(
string
$transaction_id
[,
array
$headers
] )
public
bool
commit
(
string
$transaction_id
[,
array
$headers
] )
__construct
([
string
$broker
= ini_get("stomp.default_broker_uri")
[,
string
$username
[,
string
$password
[,
array
$headers
]]]] )
public
bool
__destruct
(
void
)
public
string
error
(
void
)
public
array
getReadTimeout
(
void
)
public
string
getSessionId
(
void
)
public
bool
hasFrame
(
void
)
public
stompframe
readFrame
([
string
$class_name
= "stompFrame"
] )
public
bool
send
(
string
$destination
,
mixed
$msg
[,
array
$headers
] )
public
void
setReadTimeout
(
int
$seconds
[,
int
$microseconds
] )
public
bool
subscribe
(
string
$destination
[,
array
$headers
] )
public
bool
unsubscribe
(
string
$destination
[,
array
$headers
] )
}
Inhaltsverzeichnis
Stomp::abort
— Rolls back a transaction in progress
Stomp::ack
— Acknowledges consumption of a message
Stomp::begin
— Starts a transaction
Stomp::commit
— Commits a transaction in progress
Stomp::__construct
— Opens a connection
Stomp::__destruct
— Closes stomp connection
Stomp::error
— Gets the last stomp error
Stomp::getReadTimeout
— Gets read timeout
Stomp::getSessionId
— Gets the current stomp session ID
Stomp::hasFrame
— Indicates whether or not there is a frame ready to read
Stomp::readFrame
— Reads the next frame
Stomp::send
— Sends a message
Stomp::setReadTimeout
— Sets read timeout
Stomp::subscribe
— Registers to listen to a given destination
Stomp::unsubscribe
— Removes an existing subscription
Keine BenutzerBeiträge.
-
Beiträge aktualisieren...