|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ConnectionListener
Interface for a listener that will receive notification when the connection is created and when is closed.
Listener is notified for creation of the connection only when the connector service creates connection that implements only this and the Connection interface, when the needed IOProvider is not available at the moment of creation. When the provider becomes available then all registered listeners will receive event
CONNECTION_CREATED and the created connection.
Event CONNECTION_CLOSED must be send from every
connection that implements this interface when it is closing.
| Field Summary | |
|---|---|
static int |
CONNECTION_CLOSED
Constant for event type closed |
static int |
CONNECTION_CREATED
Constant for event type created |
| Method Summary | |
|---|---|
void |
notify(java.lang.String uri,
int eventType,
Connection conn)
Receives notification that a connection has been created or closed. |
| Field Detail |
|---|
static final int CONNECTION_CREATED
static final int CONNECTION_CLOSED
| Method Detail |
|---|
void notify(java.lang.String uri,
int eventType,
Connection conn)
|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||