Conforms to NSObject
Declared in KMStompConnectionListener.h

Overview

Protocol to observe connect, start, stop, and close events on a KMConnection.

Tasks

Instance Methods

onClose:

Invoked when [KMConnection close] has completed and the connection to the Gateway has closed.

- (void)onClose:(KMConnection *)connection

Parameters

connection

the connection to the Gateway

Declared In

KMStompConnectionListener.h

onConnect:

Invoked when the connection is established with the Gateway via [KMConnectionFactory createConnection].

- (void)onConnect:(KMConnection *)connection

Parameters

connection

the connection to the Gateway

Declared In

KMStompConnectionListener.h

onStart:

Invoked when a call to [KMConnection start] completes to start the flow of messages.

- (void)onStart:(KMConnection *)connection

Parameters

connection

the connection to the Gateway

Declared In

KMStompConnectionListener.h

onStop:

Invoked when a call to [KMConnection stop] completes to stop the flow of messages.

- (void)onStop:(KMConnection *)connection

Parameters

connection

the connection to the Gateway

Declared In

KMStompConnectionListener.h