|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Interface that represents a connection to a back-end system. Provides support for managing the status of the connection, and for listeners to receive notification about changes in the status.
| Field Summary | |
static int |
CONNECTED
There is a connection to the back-end. |
static int |
CONNECTING
A connection to the back-end is being established. |
static int |
CONNECTION_FAILED
There was a failure while trying to establish a connection to the back-end. |
static java.lang.String |
CONNECTION_STATUS_PROPERTY
|
static int |
DISCONNECTING
The connection to the back-end is being broken. |
static int |
NOT_CONNECTED
There is no connection to the back-end. |
| Method Summary | |
abstract void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
Adds a listener for property-change events. |
abstract void |
addPropertyChangeListener(java.lang.String propName,
java.beans.PropertyChangeListener l)
Adds a listener for specific property-change events. |
abstract int |
getConnectionStatus()
Accesses the status of the connection. |
abstract void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
Removes a listener for all property-change events. |
abstract void |
removePropertyChangeListener(java.lang.String propName,
java.beans.PropertyChangeListener l)
Removes a listener for all property-change events. |
| Field Detail |
public static final int NOT_CONNECTED
public static final int CONNECTING
public static final int CONNECTED
public static final int DISCONNECTING
public static final int CONNECTION_FAILED
public static final java.lang.String CONNECTION_STATUS_PROPERTY
| Method Detail |
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
IlConnection interface is
CONNECTION_STATUS_PROPERTY.l - The listener
public void addPropertyChangeListener(java.lang.String propName,
java.beans.PropertyChangeListener l)
IlConnection interface is
CONNECTION_STATUS_PROPERTY.propName - The property namel - The listenerpublic void removePropertyChangeListener(java.beans.PropertyChangeListener l)
l - The listener
public void removePropertyChangeListener(java.lang.String propName,
java.beans.PropertyChangeListener l)
propName - The property namel - The listenerpublic int getConnectionStatus()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||