public interface ReconnectedCallback
Connection
is reconnected to a NATS server, the
Connection
object's ReconnectedCallback
is notified, if one has been registered.Modifier and Type | Method and Description |
---|---|
void |
onReconnect(ConnectionEvent event)
This callback notification method is invoked when the
Connection is successfully
reconnected. |
void onReconnect(ConnectionEvent event)
Connection
is successfully
reconnected.event
- contains information pertinent to the reconnect event.ConnectionFactory.setReconnectedCallback(ReconnectedCallback)
,
AbstractConnection.setReconnectedCallback(ReconnectedCallback)
Copyright © 2015–2016 Apcera, Inc.. All rights reserved.