Cisco Systems, Inc.

com.pcube.apps.engage
Class ConnectionStateChangedNotification

java.lang.Object
  extended by java.util.EventObject
      extended by javax.management.Notification
          extended by com.pcube.apps.engage.Notification
              extended by com.pcube.apps.engage.ConnectionStateChangedNotification
All Implemented Interfaces:
java.io.Serializable

public class ConnectionStateChangedNotification
extends Notification

A notification sent to the ConnectionStateChangedListener .The notification contains information regarding changes which occured to the connection to the SE.

See Also:
Serialized Form

Field Summary
static int STATE_CONNECTING
          Trying to connect, not yet successful.
static int STATE_CONNECTION_DEAD
          The connection is ok but the user context created by the login operation in no longer valid on the target machine.
static int STATE_HALTED
          The connection halted.
static int STATE_READY
          The connection is up and everything is ok.
static int STATE_RECOVER_CONNECTION
          An error has occured and the session is now trying to recover the connection.
static java.lang.String[] TYPES
          An array of the connection state types.
 
Fields inherited from class com.pcube.apps.engage.Notification
ENGAGE_ERROR_NOTIFICATION, ENGAGE_GENERAL_NOTIFICATION, ENGAGE_WARNING_NOTIFICATION, NOTIFICATION_LEVEL_HIGH, NOTIFICATION_LEVEL_LOW, POLICY_AND_SUBSCRIBER_CLIENT_NOTIFICATION, POLICY_CLIENT_NOTIFICATION, SUBSCRIBER_CLIENT_NOTIFICATION
 
Constructor Summary
ConnectionStateChangedNotification(com.pcube.management.framework.client.ConnectionStateChangeNotification parent)
          ConnectionStateChangedNotification constructor.
 
Method Summary
 java.lang.String getType()
          Gets the connections state's type.
 
Methods inherited from class com.pcube.apps.engage.Notification
getNotification, getNotificationClients, getNotificationLevel, getNotificationType, toString
 
Methods inherited from class javax.management.Notification
getMessage, getSequenceNumber, getTimeStamp, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STATE_READY

public static final int STATE_READY
The connection is up and everything is ok.

See Also:
Constant Field Values

STATE_HALTED

public static final int STATE_HALTED
The connection halted.

See Also:
Constant Field Values

STATE_CONNECTING

public static final int STATE_CONNECTING
Trying to connect, not yet successful. There is no reason to suspect any error or problem.

See Also:
Constant Field Values

STATE_RECOVER_CONNECTION

public static final int STATE_RECOVER_CONNECTION
An error has occured and the session is now trying to recover the connection.

See Also:
Constant Field Values

STATE_CONNECTION_DEAD

public static final int STATE_CONNECTION_DEAD
The connection is ok but the user context created by the login operation in no longer valid on the target machine.

See Also:
Constant Field Values

TYPES

public static final java.lang.String[] TYPES
An array of the connection state types.

Constructor Detail

ConnectionStateChangedNotification

public ConnectionStateChangedNotification(com.pcube.management.framework.client.ConnectionStateChangeNotification parent)
ConnectionStateChangedNotification constructor.

Parameters:
parent -
Method Detail

getType

public java.lang.String getType()
Gets the connections state's type.

Overrides:
getType in class javax.management.Notification
Returns:
the String representation of the connection's state

Cisco Systems, Inc.

Copyright © 2013 Cisco Systems, Inc. Confidential.