|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
javax.management.Notification
com.sun.jdmk.comm.HeartBeatNotification
public class HeartBeatNotification
This notification will be sent by a connector client when the connector client itself connects to or disconnects from the connector server or when the connector server associated to this connector client dies or is temporarily unreachable and after several retries have been carried out unsuccessfully.
Field Summary | |
---|---|
static String |
CONNECTION_ESTABLISHED
Notification type denoting that the connector client specified as the source object has been connected to its corresponding connector server. |
static String |
CONNECTION_LOST
Notification type denoting that the connector server associated to the connector client specified as the source object in this notification has died. |
static String |
CONNECTION_REESTABLISHED
Notification type denoting that the connector server associated to the connector client specified as the source object in this notification was temporarily unreachable but connection has been reestablished successfully. |
static String |
CONNECTION_RETRYING
Notification type denoting that the connector server associated to the connector client specified as the source object in this notification is temporarily unreachable but the connector client is trying to reestablish the connection. |
static String |
CONNECTION_TERMINATED
Notification type denoting that the connector client specified as the source object has been disconnected from its corresponding connector server. |
Fields inherited from class javax.management.Notification |
---|
source |
Constructor Summary | |
---|---|
HeartBeatNotification(String type,
Object source,
long sequenceNumber,
long timeStamp,
String msg,
ConnectorAddress connAddr)
Constructs a heartbeat notification object. |
Method Summary | |
---|---|
ConnectorAddress |
getConnectorAddress()
Gets the connector address of this heartbeat notification. |
Methods inherited from class javax.management.Notification |
---|
getMessage, getSequenceNumber, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData, toString |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String CONNECTION_ESTABLISHED
The value of this notification type is jdmk.connector.heartbeat.connection.established
.
public static final String CONNECTION_RETRYING
The value of this notification type is jdmk.connector.heartbeat.connection.retrying
.
public static final String CONNECTION_LOST
The value of this notification type is jdmk.connector.heartbeat.connection.lost
.
public static final String CONNECTION_REESTABLISHED
The value of this notification type is jdmk.connector.heartbeat.connection.reestablished
.
public static final String CONNECTION_TERMINATED
The value of this notification type is jdmk.connector.heartbeat.connection.terminated
.
Constructor Detail |
---|
public HeartBeatNotification(String type, Object source, long sequenceNumber, long timeStamp, String msg, ConnectorAddress connAddr)
type
- The notification type.source
- The notification producer, i.e. the connector client.sequenceNumber
- The notification sequence number within the source object.timeStamp
- The date at which the notification is being sent.msg
- A string containing the message of the notification.connAddr
- A ConnectorAddress object describing the connector server.Method Detail |
---|
public ConnectorAddress getConnectorAddress()
|
Open Source build 02 opendmk-1.0-b02 2007.10.01_19:17:46_MEST |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |