protected void fireConnectionClosed(){
  ConnectionEvent evt=new ConnectionEvent(this);
  for (  ConnectionEventListener listener : connectionEventListeners) {
    listener.connectionClosed(evt);
  }
}

protected void fireConnectionClosed ( ) { ConnectionEvent evt = new ConnectionEvent ( this ) ; for ( ConnectionEventListener listener : connectionEventListeners ) { listener . connectionClosed ( evt ) ; } }
helper method to fire the connectionclosed event .
