public abstract class Connection
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected javax.swing.event.EventListenerList |
listenerList |
| Constructor and Description |
|---|
Connection() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConnectionListener(ConnectionListener l)
adds a subscriber to listen for connection events
|
protected void |
fireConnectionClosed(ConnectionEvent event) |
protected void |
fireConnectionEstablished(ConnectionEvent event) |
protected void |
fireConnectionStarting(ConnectionEvent event,
ConnectionEvent vetoEvent)
convenience method to fire off connection starting events.
|
protected void |
fireConnectionStartingWithoutVeto(ConnectionEvent event)
this method is specially designed to fire off the event without capturing the veto exception.
|
void |
removeConnectionListener(ConnectionListener l)
remove from listening to connection events
|
public void addConnectionListener(ConnectionListener l)
public void removeConnectionListener(ConnectionListener l)
protected void fireConnectionStarting(ConnectionEvent event, ConnectionEvent vetoEvent) throws ConnectionVetoException
ConnectionVetoExceptionprotected void fireConnectionStartingWithoutVeto(ConnectionEvent event) throws ConnectionVetoException
ConnectionVetoExceptionprotected void fireConnectionEstablished(ConnectionEvent event)
protected void fireConnectionClosed(ConnectionEvent event)
Copyright © 2001-2005 Echomine. All Rights Reserved.