public class ConnectionClosingEvent extends ConnectionEvent
| Modifier and Type | Field and Description |
|---|---|
static String |
CONNECTION_CLOSING_ADMIN
Connection closing event code - admin requested shutdown.
|
connectionsource| Constructor and Description |
|---|
ConnectionClosingEvent(Connection conn,
String evCode,
String evMessage,
long timePeriod)
Construct a ConnectionClosingEvent object associated with the
connection specified.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getClosingTimePeriod()
Get the connection closing time period in milli seconds.
|
getBrokerAddress, getConnection, getSourcegetEventCode, getEventMessage, toStringpublic static final String CONNECTION_CLOSING_ADMIN
public ConnectionClosingEvent(Connection conn, String evCode, String evMessage, long timePeriod)
conn - the connection associated with the closing event.evCode - the event code that represents this event object.evMessage - the event message that describes this event object.timePeriod - the closing time period (in milli secs) since the
broker announces the connection is to be closed.Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.