public class ConnectionReconnectedEvent extends ConnectionEvent
The application can obtain the current broker's address from the API provided.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONNECTION_RECONNECTED
Connection reconnected event code.
|
connection| Constructor and Description |
|---|
ConnectionReconnectedEvent(Connection conn,
java.lang.String evCode,
java.lang.String evMessage)
Construct a connection reconnect event.
|
getBrokerAddress, getConnection, getSourcegetEventCode, getEventMessage, toStringpublic static final java.lang.String CONNECTION_RECONNECTED
public ConnectionReconnectedEvent(Connection conn, java.lang.String evCode, java.lang.String evMessage)
conn - the connection associated with this event object.evCode - the event code that represents this event object.evMessage - the event message that describes this event object.Copyright (c) 2010, 2017 Oracle and/or its affiliates. All rights reserved.