Represents a STOMP destination.
Depending on the implementation, the message delivery is different. Queue are sending message to only one subscribers, while topics are broadcasting the message to all subscribers.
Implementations must be thread-safe.
| package |
Default |
|---|
__construct()
ack( $arg0, $arg1) : boolean
StompServerConnection
Frame | array
boolean{@code true} if the destination has handled the frame (meaning it has sent the message with id)
bridge( $arg0, $arg1) : \io\vertx\jphp\ext\stomp\Destination
destination() : string
stringthe destination address.
dispatch( $arg0, $arg1) : $this
StompServerConnection
Frame | array
$thisthe current instance of {@link Destination}
getSubscriptions( $arg0) : array
StompServerConnection
arraythe list of subscription id, empty if none
matches( $arg0) : boolean
string
boolean{@code true} if it matches, {@code false} otherwise.
nack( $arg0, $arg1) : boolean
StompServerConnection
Frame | array
boolean{@code true} if the destination has handled the frame (meaning it has sent the message with id)
numberOfSubscriptions() : integer
integerthe number of subscriptions.
queue( $arg0, $arg1) : \io\vertx\jphp\ext\stomp\Destination
subscribe( $arg0, $arg1) : $this
StompServerConnection
Frame | array
$thisthe current instance of {@link Destination}
topic( $arg0, $arg1) : \io\vertx\jphp\ext\stomp\Destination
unsubscribe( $arg0, $arg1) : boolean
StompServerConnection
Frame | array
boolean{@code true} if the un-subscription has been handled, {@code false} otherwise.
unsubscribeConnection( $arg0) : $this
StompServerConnection
$thisthe current instance of {@link Destination}