KMStompConnectionListener Protocol Reference
| Conforms to | NSObject |
| Declared in | KMStompConnectionListener.h |
Tasks
-
– onConnect:Invoked when the connection is established with the Gateway via [KMConnectionFactory createConnection].
required method -
– onStart:Invoked when a call to [KMConnection start] completes to start the flow of messages.
required method -
– onStop:Invoked when a call to [KMConnection stop] completes to stop the flow of messages.
required method -
– onClose:Invoked when [KMConnection close] has completed and the connection to the Gateway has closed.
required method
Instance Methods
onClose:
Invoked when [KMConnection close] has completed and the connection to the Gateway has closed.
- (void)onClose:(KMConnection *)connectionParameters
- connection
the connection to the Gateway
Declared In
KMStompConnectionListener.honConnect:
Invoked when the connection is established with the Gateway via [KMConnectionFactory createConnection].
- (void)onConnect:(KMConnection *)connectionParameters
- connection
the connection to the Gateway
Declared In
KMStompConnectionListener.honStart:
Invoked when a call to [KMConnection start] completes to start the flow of messages.
- (void)onStart:(KMConnection *)connectionParameters
- connection
the connection to the Gateway
Declared In
KMStompConnectionListener.honStop:
Invoked when a call to [KMConnection stop] completes to stop the flow of messages.
- (void)onStop:(KMConnection *)connectionParameters
- connection
the connection to the Gateway
Declared In
KMStompConnectionListener.h