Packagecom.kaazing.gateway.jms.client.stomp
Interfacepublic interface StompChannelListener



Public Methods
 MethodDefined by
  
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
  
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
  
Called when the Gateway has connected due to initial STOMP CONNECTED received (once per connection).
StompChannelListener
  
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
  
Called when an attempt to reconnect has failed.
StompChannelListener
Method detail
onAuthenticationFailed()method
public function onAuthenticationFailed():void

Called when the Gateway rejects the connection due to an authentication failure.

onBrokerConnectionInterrupted()method 
public function onBrokerConnectionInterrupted():void

Called when the Gateway connection to the provider has been interrupted.

onBrokerConnectionRestored()method 
public function onBrokerConnectionRestored():void

Called when the Gateawy connection to the provider has been restored.

onClose()method 
public function onClose():void

Called 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):void

Called when the Gateway connection fails.

Parameters
errorMessage:String
onDropped()method 
public function onDropped():void

Called when a connection is dropped. The connection will automatically attempt to reconnect.

onGatewayConnected()method 
public function onGatewayConnected():void

Called when the Gateway has connected due to initial STOMP CONNECTED received (once per connection).

onGatewayDisconnected()method 
public function onGatewayDisconnected():void

Called when the Gateway has disconnected due to STOMP DISCONNECTED received. No further attempts to reconnect will be made.

onOpen()method 
public function onOpen():void

Called when the underlying socket connection is open for sending/receiving Stomp frames

onReconnect()method 
public function onReconnect():void

Called when a dropped connection has been restored.

onReconnectFailed()method 
public function onReconnectFailed():void

Called when an attempt to reconnect has failed.