| Method | Defined by | ||
|---|---|---|---|
|
onAuthenticationFailed():void
Called when the Gateway rejects the connection due to an authentication failure.
| StompChannelListener | ||
|
Called when the Gateway connection to the provider has been interrupted.
| StompChannelListener | ||
|
onBrokerConnectionRestored():void
Called when the Gateawy connection to the provider has been restored.
| StompChannelListener | ||
|
onClose():void
Called when the underlying socket connection has failed to open or has closed after being open.
| StompChannelListener | ||
|
onConnectionFailed(errorMessage:String):void
Called when the Gateway connection fails.
| StompChannelListener | ||
|
onDropped():void
Called when a connection is dropped.
| StompChannelListener | ||
|
onGatewayConnected():void
Called when the Gateway has connected due to initial STOMP CONNECTED received (once per connection).
| StompChannelListener | ||
|
onGatewayDisconnected():void
Called when the Gateway has disconnected due to STOMP DISCONNECTED received.
| StompChannelListener | ||
|
onOpen():void
Called when the underlying socket connection is open for sending/receiving Stomp frames
| StompChannelListener | ||
|
onReconnect():void
Called when a dropped connection has been restored.
| StompChannelListener | ||
|
onReconnectFailed():void
Called when an attempt to reconnect has failed.
| StompChannelListener | ||
| onAuthenticationFailed | () | method |
public function onAuthenticationFailed():voidCalled when the Gateway rejects the connection due to an authentication failure.
| onBrokerConnectionInterrupted | () | method |
public function onBrokerConnectionInterrupted():voidCalled when the Gateway connection to the provider has been interrupted.
| onBrokerConnectionRestored | () | method |
public function onBrokerConnectionRestored():voidCalled when the Gateawy connection to the provider has been restored.
| onClose | () | method |
public function onClose():voidCalled when the underlying socket connection has failed to open or has closed after being open. Note that onOpen may not necessarily be called before onClose is invoked to indicate connection failure.
| onConnectionFailed | () | method |
public function onConnectionFailed(errorMessage:String):voidCalled when the Gateway connection fails.
ParameterserrorMessage:String |
| onDropped | () | method |
public function onDropped():voidCalled when a connection is dropped. The connection will automatically attempt to reconnect.
| onGatewayConnected | () | method |
public function onGatewayConnected():voidCalled when the Gateway has connected due to initial STOMP CONNECTED received (once per connection).
| onGatewayDisconnected | () | method |
public function onGatewayDisconnected():voidCalled when the Gateway has disconnected due to STOMP DISCONNECTED received. No further attempts to reconnect will be made.
| onOpen | () | method |
public function onOpen():voidCalled when the underlying socket connection is open for sending/receiving Stomp frames
| onReconnect | () | method |
public function onReconnect():voidCalled when a dropped connection has been restored.
| onReconnectFailed | () | method |
public function onReconnectFailed():voidCalled when an attempt to reconnect has failed.