protected void notifyConnectionListeners(int type) {
ConnectionEvent event = new ConnectionEvent(this, type);
Iterator it = _connectionListeners.iterator();
while (it.hasNext()) {
TransportListener listener = (TransportListener) it.next();
event.dispatch(listener);
}
}